mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Implement per-topic shared media.
This commit is contained in:
@@ -1443,7 +1443,7 @@ void HidePinnedBar(
|
||||
close();
|
||||
auto &session = peer->session();
|
||||
const auto migrated = peer->migrateFrom();
|
||||
const auto top = Data::ResolveTopPinnedId(peer, migrated);
|
||||
const auto top = Data::ResolveTopPinnedId(peer, MsgId(0), migrated);
|
||||
const auto universal = !top
|
||||
? MsgId(0)
|
||||
: (migrated && !peerIsChannel(top.peer))
|
||||
|
Reference in New Issue
Block a user