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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user