2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

version 0.8.54.dev prepared, two crash fixes

This commit is contained in:
John Preston
2015-08-31 18:05:57 +03:00
parent a0f7a4607d
commit 25b6740f91
9 changed files with 17 additions and 20 deletions

View File

@@ -348,7 +348,7 @@ bool History::updateTyping(uint64 ms, uint32 dots, bool force) {
++i;
}
}
for (SendActionUsers::iterator i = sendActions.begin(), e = sendActions.end(); i != e;) {
for (SendActionUsers::iterator i = sendActions.begin(); i != sendActions.cend();) {
if (ms >= i.value().until) {
i = sendActions.erase(i);
changed = true;