Mercurial > libervia-web
diff src/browser/sat_browser/plugin_sec_otr.py @ 533:19fc2ebc02dd
browser_side: management of new "info" newMessage type
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 05 Sep 2014 19:29:35 +0200 |
parents | 793f12d1f970 |
children | 331cb6ea0235 |
line wrap: on
line diff
--- a/src/browser/sat_browser/plugin_sec_otr.py Fri Sep 05 12:26:33 2014 +0200 +++ b/src/browser/sat_browser/plugin_sec_otr.py Fri Sep 05 19:29:35 2014 +0200 @@ -332,6 +332,8 @@ self.host.bridge.call('getLastResource', gotResource, jid.full()) def messageReceivedTrigger(self, from_jid, msg, msg_type, to_jid, extra): + if msg_type == C.MESS_TYPE_INFO: + return True other_jid = to_jid if from_jid.bare == self.host.whoami.bare else from_jid def cb(jid):