mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Implement per-topic shared media.
This commit is contained in:
@@ -30,8 +30,7 @@ constexpr auto kRequestTimeLimit = 60 * crl::time(1000);
|
||||
}
|
||||
|
||||
[[nodiscard]] MsgId LocalToRemoteMsgId(MsgId id) {
|
||||
Expects(id > ServerMaxMsgId);
|
||||
Expects(id < ServerMaxMsgId + ScheduledMsgIdsRange);
|
||||
Expects(IsScheduledMsgId(id));
|
||||
|
||||
return (id - ServerMaxMsgId - 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user