mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Display active feed state in dialogs list.
This commit is contained in:
@@ -8,6 +8,7 @@ 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_media_types.h"
|
||||
#include "history/history_service.h"
|
||||
@@ -1924,6 +1925,15 @@ 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;
|
||||
}
|
||||
|
||||
QDateTime History::adjustChatListDate() const {
|
||||
const auto result = chatsListDate();
|
||||
if (const auto draft = cloudDraft()) {
|
||||
|
Reference in New Issue
Block a user