mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Just compute scheduled ids instead of a lookup.
This commit is contained in:
@@ -1760,10 +1760,6 @@ MsgId History::nextNonHistoryEntryId() {
|
||||
return owner().nextNonHistoryEntryId();
|
||||
}
|
||||
|
||||
MsgId History::scheduledMessageId(MsgId remoteScheduledMsgId) const {
|
||||
return ServerMaxMsgId + remoteScheduledMsgId + 1;
|
||||
}
|
||||
|
||||
bool History::folderKnown() const {
|
||||
return _folder.has_value();
|
||||
}
|
||||
|
Reference in New Issue
Block a user