Commit 0ee9b2fa authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Fix get_devices()

It did not discard our own device when without_self was True
parent 37512bb7
......@@ -78,7 +78,7 @@ class DeviceManager:
def get_devices(self, jid, without_self=False):
devices = set(self.__device_store[jid])
if without_self:
devices.discard(self._own_jid)
devices.discard(self.own_device)
return devices
def get_devices_for_encryption(self, jid):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment