diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Telegram/src/server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp index 681a4344be..1f5c204abe 100644 --- a/protocols/Telegram/src/server.cpp +++ b/protocols/Telegram/src/server.cpp @@ -1225,6 +1225,8 @@ void CTelegramProto::ProcessUser(TD::updateUser *pObj) if (pUser->usernames_)
UpdateString(pu->hContact, "Nick", pUser->usernames_->editable_username_);
+ else
+ delSetting(pu->hContact, "Nick");
Contact::PutOnList(pu->hContact);
|