Respect window active state on mark as read.

This commit is contained in:
John Preston
2022-11-02 20:03:42 +04:00
parent ff352d7647
commit 9d4840c0de
23 changed files with 156 additions and 107 deletions

View File

@@ -144,7 +144,7 @@ public:
void windowShown();
void dialogsToUp();
void checkHistoryActivation();
void checkActivation();
[[nodiscard]] PeerData *peer() const;
[[nodiscard]] Ui::ChatTheme *customChatTheme() const;
@@ -167,8 +167,7 @@ public:
not_null<DocumentData*> document,
Api::SendOptions options);
bool isActive() const;
[[nodiscard]] bool doWeMarkAsRead() const;
[[nodiscard]] bool animatingShow() const;
void showForwardLayer(Data::ForwardDraft &&draft);
void showSendPathsLayer();