Remove MUC workaround as new poezio is released
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
80f2cf74d9
commit
91e52cb724
1 changed files with 0 additions and 9 deletions
|
@ -128,15 +128,6 @@ class Plugin(E2EEPlugin):
|
|||
self.display_error('Unable to decrypt the message.')
|
||||
return None
|
||||
|
||||
# XXX: This is only needed to workaround a bug in poezio (fixed in
|
||||
# 00a91774) that makes it not give us realjids. Remove when there is a
|
||||
# poezio release including it.
|
||||
# The realjid of the participant needs to be retrieved in a MUC.
|
||||
if isinstance(tab, MucTab):
|
||||
user = tab.get_user_by_name(jid.resource)
|
||||
if user is not None and user.jid != JID(''):
|
||||
jid = user.jid
|
||||
|
||||
body = None
|
||||
try:
|
||||
encrypted = message['omemo_encrypted']
|
||||
|
|
Loading…
Reference in a new issue