Commit 374949ac authored by Yann Leboulanger's avatar Yann Leboulanger

backport a fix from default branch. Fixes #5203

parent 5cf6cab7
......@@ -1001,7 +1001,8 @@ class Interface:
if array[3]:
msg = _('error while sending %(message)s ( %(error)s )') % {
'message': array[3], 'error': msg}
array[5].roster_message(jid, msg, array[4], msg_type='error')
if session:
session.roster_message(jid, msg, array[4], msg_type='error')
def handle_event_msgsent(self, account, array):
#('MSGSENT', account, (jid, msg, keyID))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment