update to new API, replace chat.is_verified() with chat.is_protected()

This commit is contained in:
adbenitez
2021-02-28 08:31:49 -05:00
parent f04f58d2c1
commit fb20861de3
+1 -1
View File
@@ -64,7 +64,7 @@ class MessageSendWidget(urwid.Filler, ChatListMonitor):
else:
chat = chats[current_chat_index]
verified = ''
if chat.is_verified():
if chat.is_protected():
verified = ''
text = ' {}[ {} ] -- {}'.format(
verified, chat.get_name(), get_subtitle(chat))