# HG changeset patch # User Goffi # Date 1551643169 -3600 # Node ID 76f714b12d2132f33334027a645fbcb10fadebb9 # Parent 8018cf9aa55bbff99170ee79304e6110d34efb2a quick frontend(chat): use bare jid for getEncryptionState, and skip if for group chat diff -r 8018cf9aa55b -r 76f714b12d21 sat_frontends/quick_frontend/quick_chat.py --- a/sat_frontends/quick_frontend/quick_chat.py Sun Mar 03 19:18:45 2019 +0100 +++ b/sat_frontends/quick_frontend/quick_chat.py Sun Mar 03 20:59:29 2019 +0100 @@ -567,7 +567,9 @@ Once state is retrieved, default messageEncryptionStarted will be called if suitable """ - self.host.bridge.messageEncryptionGet(unicode(self.target), self.profile, + if self.type == C.CHAT_GROUP: + return + self.host.bridge.messageEncryptionGet(unicode(self.target.bare), self.profile, callback=self.messageEncryptionGetCb, errback=self.messageEncryptionGetEb)