tigase / beagle-im

(M) XMPP client for macOS based on TigaseSwift XMPP library
GNU General Public License v3.0
182 stars 21 forks source link

Can't receive OMEMO file from self. #30

Closed michaelblyons closed 4 years ago

michaelblyons commented 4 years ago

Describe the bug

I sometimes use XMPP to send a link or text to myself between devices. ~(This works in Beagle, but has small weird thing, where I am listed as "From unknown" in sidebar.)~ I tried doing this with sending a file as well, but I always get an error message:

I sent you an OMEMO encrypted message, but your client doesn't seem to support that. Find more information on https://conversations.im/omemo

To Reproduce

Steps to reproduce the behavior:

  1. Sign into Beagle on MacOS (Enable OMEMO)
  2. Sign into Conversations.im on Android as same user (Enable OMEMO)
  3. In Conversations.im, share file to a chat with self
  4. In Beagle, attempt to view file
  5. See message

Expected behavior

Screenshots

Screen Shot 2020-05-02 at 4 21 44 PM

Desktop:

Smartphone:

hantu85 commented 4 years ago

Were you able to successfully receive a message/file sent to self from Conversations on another client? ie. another Convesations? or any other OMEMO compatible XMPP client?

I'm asking about that, bacause main reason why people cannot see their messages are actually releated to the fact that those messages are not encrypted for particular device.

As for being listed in "From unknown" section, the behavior is correct. If the sender of a message is not in your contacts list (roster) then it listed in "From unknown" section.

michaelblyons commented 4 years ago

Were you able to successfully receive a message/file sent to self from Conversations on another client? ie. another Convesations? or any other OMEMO compatible XMPP client?

I will check this. I have a Gnome client somewhere that I sometimes use.

As for being listed in "From unknown" section, the behavior is correct. If the sender of a message is not in your contacts list (roster) then it listed in "From unknown" section.

Ah, I see. I could not find a way to add a contact in the "From unknown" section to my contacts list (only to block them). Now that I have added myself from the real "Contacts" window, I show up as expected.

michaelblyons commented 4 years ago

Sorry it took so long. I've now tried it with Conversations -> Gajim. It worked. Then I discovered that the file was also available on Beagle (though not past ones), even though I still got that OMEMO fish from the original screenshot.