core,bridge: sendMessage bridge method is now async
This commit is contained in:
parent
b6aaecc5c2
commit
bc776be0f2
1 changed files with 11 additions and 8 deletions
|
|
@ -107,7 +107,7 @@ class EditBar(sat_widgets.ModalEdit):
|
|||
editBar.get_edit_text(),
|
||||
mess_type = "groupchat" if chat.type == 'group' else "chat",
|
||||
profile_key=self.app.profile)
|
||||
except:
|
||||
except: # FIXME: bad global catch + sendMessage is now async
|
||||
self.app.notify(_("Error while sending message"))
|
||||
editBar.set_edit_text('')
|
||||
elif self.mode == 'COMMAND':
|
||||
|
|
|
|||
Loading…
Reference in a new issue