mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Read silent flag from PeerData, not SilentToggle.
This commit is contained in:
@@ -256,7 +256,6 @@ public:
|
||||
not_null<History*> history;
|
||||
TextWithTags textWithTags;
|
||||
MsgId replyTo = 0;
|
||||
bool silent = false;
|
||||
WebPageId webPageId = 0;
|
||||
bool clearDraft = true;
|
||||
};
|
||||
@@ -300,8 +299,8 @@ public:
|
||||
|
||||
void pushReplyReturn(HistoryItem *item);
|
||||
|
||||
void cancelForwarding(History *history);
|
||||
void finishForwarding(History *history, bool silent); // send them
|
||||
void cancelForwarding(not_null<History*> history);
|
||||
void finishForwarding(not_null<History*> history);
|
||||
|
||||
void mediaMarkRead(not_null<DocumentData*> data);
|
||||
void mediaMarkRead(const base::flat_set<not_null<HistoryItem*>> &items);
|
||||
|
Reference in New Issue
Block a user