Revert a regression on the conversation_msg event

This commit is contained in:
mathieui 2012-02-19 22:24:10 +01:00
parent 762bd953cb
commit 687b9106e7

View file

@ -801,6 +801,7 @@ class Core(object):
return
conversation = self.get_tab_of_conversation_with_jid(jid, create=True)
self.events.trigger('conversation_msg', message, conversation)
body = xhtml.get_body_from_message_stanza(message)
if roster.get_contact_by_jid(jid.bare):
remote_nick = roster.get_contact_by_jid(jid.bare).name or jid.user
else: