Fix after merge invalid self.current_msg usage

This commit is contained in:
Paul Nameless 2020-05-21 15:28:39 +08:00
parent 0c00820806
commit cd3cb13dca

View file

@ -86,7 +86,7 @@ class Model:
def view_current_msg(self):
chat_id = self.chats.id_by_index(self.current_chat)
msg = MsgProxy(self.current_msg())
msg = MsgProxy(self.current_msg)
msg_id = msg["id"]
self.tg.view_messages(chat_id, [msg_id])