mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use only shared media code for pinned tracking.
This commit is contained in:
@@ -3570,6 +3570,9 @@ void ApiWrap::sharedMediaDone(
|
||||
parsed.noSkipRange,
|
||||
parsed.fullCount
|
||||
));
|
||||
if (type == SharedMediaType::Pinned && !parsed.messageIds.empty()) {
|
||||
peer->setHasPinnedMessages(true);
|
||||
}
|
||||
}
|
||||
|
||||
void ApiWrap::requestUserPhotos(
|
||||
|
Reference in New Issue
Block a user