2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Forum three-dot menu, except search.

This commit is contained in:
John Preston
2022-10-14 17:25:05 +04:00
parent 9b0cae9c97
commit 6997e165c6
20 changed files with 354 additions and 172 deletions

View File

@@ -81,6 +81,7 @@ public:
[[nodiscard]] HistoryItem *lastServerMessage() const;
[[nodiscard]] bool lastMessageKnown() const;
[[nodiscard]] bool lastServerMessageKnown() const;
[[nodiscard]] MsgId lastKnownServerMessageId() const;
[[nodiscard]] QString title() const;
void applyTitle(const QString &title);
@@ -116,6 +117,7 @@ private:
void indexTitleParts();
void validateDefaultIcon() const;
void applyTopicTopMessage(MsgId topMessageId);
void growLastKnownServerMessageId(MsgId id);
void setLastMessage(HistoryItem *item);
void setLastServerMessage(HistoryItem *item);
@@ -131,6 +133,7 @@ private:
const not_null<Dialogs::MainList*> _list;
std::shared_ptr<RepliesList> _replies;
MsgId _rootId = 0;
MsgId _lastKnownServerMessageId = 0;
PeerNotifySettings _notify;