mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Keep track of scheduled messages.
This commit is contained in:
@@ -8,7 +8,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "history/history.h"
|
||||
|
||||
#include "history/view/history_view_element.h"
|
||||
#include "history/admin_log/history_admin_log_section.h"
|
||||
#include "history/history_message.h"
|
||||
#include "history/history_service.h"
|
||||
#include "history/history_item_components.h"
|
||||
@@ -1823,13 +1822,8 @@ void History::getNextFirstUnreadMessage() {
|
||||
_firstUnreadView = nullptr;
|
||||
}
|
||||
|
||||
std::shared_ptr<AdminLog::LocalIdManager> History::adminLogIdManager() {
|
||||
if (const auto strong = _adminLogIdManager.lock()) {
|
||||
return strong;
|
||||
}
|
||||
auto result = std::make_shared<AdminLog::LocalIdManager>();
|
||||
_adminLogIdManager = result;
|
||||
return result;
|
||||
MsgId History::nextNonHistoryEntryId() {
|
||||
return ++_nonHistoryEntryId;
|
||||
}
|
||||
|
||||
bool History::folderKnown() const {
|
||||
|
Reference in New Issue
Block a user