Receive omemo message from Conversations-Client
Hi.
I'm trying to decrypt a message that I receive from a Conversations-Client. The slixmpp_omemo version is 0.2.0 (the latest from pip).
When I execute body = self['xep_0384'].decrypt_message(encrypted, mfrom, allow_untrusted)
, like you do in your example, I get the following error:
AttributeError("'XEP_0384' object has no attribute '_device_id'")
When I log the encrypted message, I get this output, which ...well.. really has no '_device_id'-attribute :)
<encrypted xmlns="eu.siacs.conversations.axolotl"><header sid="1658173044"><key prekey="true" rid="1808939084">Mwg7EiEFig75QrUl0s2aqp1ojIOh0kCODiEAII7L1rqI81XUPzwaIQXaWy5scesYFJUuGFsKrHrsrWFxjCk3Wb88t+x1NWz5XCJiMwohBTmvknWkotJCuKO+nr/limBcTyI2SrWGsVEcv37oEIt8EBAYACIwqxgFZeA7RUblU6LFF0Tm1NXUG5yk3XHsg9aOATfi9qKK39nyaZ5+pfV2C7aGAbG+1It3kkJPgwYo9OzWlgYwAQ==</key><iv>X0pTrsJv3C8NkdDyuHBwWw==</iv></header><payload>GL04LA==</payload></encrypted>
I know the error is pretty clear and I can confirm, that '_device_id' is missing, but I'm a bit lost here.
Do you have any idea, what I can do to get around this? Am I listening for the wrong event or something like that?