mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Create / move forum topics on new messages.
This commit is contained in:
@@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#pragma once
|
||||
|
||||
#include "dialogs/dialogs_entry.h"
|
||||
#include "dialogs/ui/dialogs_message_view.h"
|
||||
|
||||
class ChannelData;
|
||||
|
||||
@@ -56,6 +57,10 @@ public:
|
||||
[[nodiscard]] bool lastMessageKnown() const;
|
||||
[[nodiscard]] bool lastServerMessageKnown() const;
|
||||
|
||||
void applyTitle(const QString &title);
|
||||
void applyItemAdded(not_null<HistoryItem*> item);
|
||||
void applyItemRemoved(MsgId id);
|
||||
|
||||
void loadUserpic() override;
|
||||
void paintUserpic(
|
||||
Painter &p,
|
||||
@@ -73,6 +78,9 @@ public:
|
||||
void setUnreadMark(bool unread);
|
||||
[[nodiscard]] bool unreadMark() const;
|
||||
|
||||
Ui::Text::String cloudDraftTextCache;
|
||||
Dialogs::Ui::MessageView lastItemDialogsView;
|
||||
|
||||
private:
|
||||
void indexTitleParts();
|
||||
void applyTopicTopMessage(MsgId topMessageId);
|
||||
|
Reference in New Issue
Block a user