Revert a regression on the conversation_msg event
This commit is contained in:
parent
762bd953cb
commit
687b9106e7
1 changed files with 1 additions and 0 deletions
|
@ -801,6 +801,7 @@ class Core(object):
|
||||||
return
|
return
|
||||||
conversation = self.get_tab_of_conversation_with_jid(jid, create=True)
|
conversation = self.get_tab_of_conversation_with_jid(jid, create=True)
|
||||||
self.events.trigger('conversation_msg', message, conversation)
|
self.events.trigger('conversation_msg', message, conversation)
|
||||||
|
body = xhtml.get_body_from_message_stanza(message)
|
||||||
if roster.get_contact_by_jid(jid.bare):
|
if roster.get_contact_by_jid(jid.bare):
|
||||||
remote_nick = roster.get_contact_by_jid(jid.bare).name or jid.user
|
remote_nick = roster.get_contact_by_jid(jid.bare).name or jid.user
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue