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.
This commit is contained in:
parent
b906423cfb
commit
575b5dd126
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ class QuickChat(quick_widgets.QuickWidget):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue