mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Show error not-found on comment link click.
This commit is contained in:
@@ -1095,6 +1095,8 @@ void SessionNavigation::showRepliesForMessage(
|
|||||||
if (error.type() == u"CHANNEL_PRIVATE"_q
|
if (error.type() == u"CHANNEL_PRIVATE"_q
|
||||||
|| error.type() == u"USER_BANNED_IN_CHANNEL"_q) {
|
|| error.type() == u"USER_BANNED_IN_CHANNEL"_q) {
|
||||||
showToast(tr::lng_group_not_accessible(tr::now));
|
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();
|
}).send();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user