mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 00:25:17 +00:00
Styles improved for unread bar margins and sticker timestamp.
Possible crash fixes: emoji color picker show, pending repaint items cleared when history items are cleared. Deleting MainWidget syncroniously when clearWidgets() is called.
This commit is contained in:
@@ -2958,9 +2958,7 @@ void MainWidget::feedMessageIds(const MTPVector<MTPUpdate> &updates) {
|
||||
}
|
||||
|
||||
bool MainWidget::updateFail(const RPCError &e) {
|
||||
if (MTP::authedId()) {
|
||||
App::logOut();
|
||||
}
|
||||
App::logOutDelayed();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -3707,7 +3705,7 @@ bool MainWidget::inviteImportFail(const RPCError &error) {
|
||||
void MainWidget::startFull(const MTPVector<MTPUser> &users) {
|
||||
const QVector<MTPUser> &v(users.c_vector().v);
|
||||
if (v.isEmpty() || v[0].type() != mtpc_user || !v[0].c_user().is_self()) { // wtf?..
|
||||
return App::logOut();
|
||||
return App::logOutDelayed();
|
||||
}
|
||||
start(v[0]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user