mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 00:25:17 +00:00
Use only shared media code for pinned tracking.
This commit is contained in:
@@ -444,7 +444,7 @@ PinMessageBox::PinMessageBox(
|
||||
: _peer(peer)
|
||||
, _api(&peer->session().mtp())
|
||||
, _msgId(msgId)
|
||||
, _pinningOld(msgId < peer->topPinnedMessageId())
|
||||
, _pinningOld(msgId < Data::ResolveTopPinnedId(peer))
|
||||
, _text(
|
||||
this,
|
||||
(_pinningOld
|
||||
|
Reference in New Issue
Block a user