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

deply scripts improved, crash fixed in dropdown

This commit is contained in:
John Preston
2015-09-24 17:17:53 +03:00
parent 0c46f0b54f
commit 069333b24d
13 changed files with 425 additions and 106 deletions

View File

@@ -2826,7 +2826,7 @@ void MentionsDropdown::updateFiltered(bool toDown) {
cnt += user->botInfo->commands.size();
}
}
} else if (_user->botInfo) {
} else if (_user && _user->botInfo) {
if (!_user->botInfo->inited) App::api()->requestFullPeer(_user);
cnt = _user->botInfo->commands.size();
bots.insert(_user, true);