Commit 850cf7d8 authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Fix set operation

Fixes #399
parent 6436c1ca
......@@ -437,7 +437,7 @@ class OMEMO(BaseModule):
def set_devicelist(self, devicelist=None):
devicelist_ = set([self.backend.own_device])
if devicelist is not None:
devicelist_.add(devicelist)
devicelist_.update(devicelist)
self._log.info('Publishing own devicelist: %s', devicelist_)
self._nbxmpp('OMEMO').set_devicelist(devicelist_)
......
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