core: fixed sendMessage
This commit is contained in:
parent
a5f4072a89
commit
3be801d4ee
1 changed files with 4 additions and 4 deletions
|
|
@ -331,9 +331,9 @@ class PrimitivusApp(QuickApp):
|
|||
chat = self.chat_wins[contact]
|
||||
try:
|
||||
self.sendMessage(contact,
|
||||
editBar.get_edit_text(),
|
||||
mess_type = "groupchat" if chat.type == 'group' else "chat",
|
||||
profile_key=self.profile)
|
||||
editBar.get_edit_text(),
|
||||
mess_type = "groupchat" if chat.type == 'group' else "chat",
|
||||
profile_key=self.profile)
|
||||
except:
|
||||
self.notify(_("Error while sending message"))
|
||||
editBar.set_edit_text('')
|
||||
|
|
|
|||
Loading…
Reference in a new issue