Skip to content
Snippets Groups Projects
Commit fd63ffb1 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix traceback

parent 7a40e71d
No related branches found
No related tags found
No related merge requests found
......@@ -1016,7 +1016,8 @@ class MessageReceivedEvent(nec.NetworkIncomingEvent, HelperEvent):
self.msgtxt = _('error while sending %(message)s ( %(error)s )'\
) % {'message': self.msgtxt,
'error': self.stanza.getErrorMsg()}
self.stanza.delChild('html')
if self.stanza.getTag('html'):
self.stanza.delChild('html')
# message from a gc without a resource
self.mtype = 'groupchat'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment