mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Fixed display of most of simple toasts in corresponding window.
This commit is contained in:
@@ -525,7 +525,9 @@ void SessionNavigation::showRepliesForMessage(
|
||||
_showingRepliesRequestId = 0;
|
||||
if (error.type() == u"CHANNEL_PRIVATE"_q
|
||||
|| error.type() == u"USER_BANNED_IN_CHANNEL"_q) {
|
||||
Ui::Toast::Show(tr::lng_group_not_accessible(tr::now));
|
||||
Ui::Toast::Show(
|
||||
Show(this).toastParent(),
|
||||
tr::lng_group_not_accessible(tr::now));
|
||||
}
|
||||
}).send();
|
||||
}
|
||||
|
Reference in New Issue
Block a user