2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Respect invert_media in service notifications.

This commit is contained in:
John Preston
2023-10-25 23:25:55 +04:00
parent 17578be4b9
commit 041ec1157f
3 changed files with 21 additions and 10 deletions

View File

@@ -705,7 +705,8 @@ public:
void serviceNotification(
const TextWithEntities &message,
const MTPMessageMedia &media = MTP_messageMediaEmpty());
const MTPMessageMedia &media = MTP_messageMediaEmpty(),
bool invertMedia = false);
void setMimeForwardIds(MessageIdsList &&list);
MessageIdsList takeMimeForwardIds();
@@ -851,7 +852,8 @@ private:
void insertCheckedServiceNotification(
const TextWithEntities &message,
const MTPMessageMedia &media,
TimeId date);
TimeId date,
bool invertMedia);
void setWallpapers(const QVector<MTPWallPaper> &data, uint64 hash);
void highlightProcessDone(uint64 processId);