mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Show error not-found on comment link click.
This commit is contained in:
parent
b3e5c4a4aa
commit
f9df522b41
1 changed files with 2 additions and 0 deletions
|
@ -1095,6 +1095,8 @@ void SessionNavigation::showRepliesForMessage(
|
|||
if (error.type() == u"CHANNEL_PRIVATE"_q
|
||||
|| error.type() == u"USER_BANNED_IN_CHANNEL"_q) {
|
||||
showToast(tr::lng_group_not_accessible(tr::now));
|
||||
} else if (error.type() == u"MSG_ID_INVALID"_q) {
|
||||
showToast(tr::lng_message_not_found(tr::now));
|
||||
}
|
||||
}).send();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue