# HG changeset patch # User Goffi # Date 1545907204 -3600 # Node ID b4c0a5bec729c862da90cf84b68678c8d5752315 # Parent edd2306511388ea8a3bf2b3a957021aba47a21b7 quick frontend(chat): use unicode on jid.JID instance in self.host.bridge.messageEncryptionGet: jid.JID is causing trouble when going trough bridge (with pb bridge), this patch avoid it by using unicode. diff -r edd230651138 -r b4c0a5bec729 sat_frontends/quick_frontend/quick_chat.py --- a/sat_frontends/quick_frontend/quick_chat.py Thu Dec 27 09:21:10 2018 +0100 +++ b/sat_frontends/quick_frontend/quick_chat.py Thu Dec 27 11:40:04 2018 +0100 @@ -564,7 +564,7 @@ Once state is retrieved, default messageEncryptionStarted will be called if suitable """ - self.host.bridge.messageEncryptionGet(self.target, self.profile, + self.host.bridge.messageEncryptionGet(unicode(self.target), self.profile, callback=self.messageEncryptionGetCb, errback=self.messageEncryptionGetEb)