2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Removed ttl menu for deleted accounts.

This commit is contained in:
23rd
2022-04-15 13:59:44 +03:00
parent 21c647147a
commit aac21e1f71
2 changed files with 8 additions and 2 deletions

View File

@@ -637,7 +637,11 @@ void Filler::addReport() {
void Filler::addNewContact() {
const auto user = _peer->asUser();
if (!user || user->isContact() || user->isSelf() || user->isBot()) {
if (!user
|| user->isContact()
|| user->isSelf()
|| user->isInaccessible()
|| user->isBot()) {
return;
}
const auto controller = _controller;