2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

megagroup members support improved

This commit is contained in:
John Preston
2015-11-09 12:51:22 +03:00
parent b630c451f1
commit fd339e401f
17 changed files with 387 additions and 96 deletions

View File

@@ -1026,6 +1026,7 @@ void CommentsLink::onClick(Qt::MouseButton button) const {
}
MsgId clientMsgId() {
static MsgId current = -2000000000;
return ++current;
static MsgId currentClientMsgId = StartClientMsgId;
Q_ASSERT(currentClientMsgId < EndClientMsgId);
return currentClientMsgId++;
}