Simple profile page for Verification Codes.

This commit is contained in:
John Preston 2024-09-26 10:55:08 +04:00
parent 39fb0a5b66
commit da49efa1ed
2 changed files with 2 additions and 2 deletions

View file

@ -1216,7 +1216,7 @@ bool PeerData::isVerifyCodes() const {
}
bool PeerData::sharedMediaInfo() const {
return isSelf() || isRepliesChat() || isVerifyCodes();
return isSelf() || isRepliesChat();
}
bool PeerData::savedSublistsInfo() const {

View file

@ -2084,7 +2084,7 @@ void ActionsFiller::fillUserActions(not_null<UserData*> user) {
addEditContactAction(user);
addDeleteContactAction(user);
}
if (!user->isSelf() && !user->isSupport()) {
if (!user->isSelf() && !user->isSupport() && !user->isVerifyCodes()) {
if (user->isBot()) {
addBotCommandActions(user);
}