Show error not-found on comment link click.

This commit is contained in:
John Preston 2025-03-13 13:30:05 +04:00
parent b3e5c4a4aa
commit f9df522b41

View file

@ -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();
}