Closed tristan-k closed 8 years ago
Thank you for your report.
It looks like you can not subscribe to the pep of franziskaw because you are missing presence subscription. I need to hide the button if you do not have the subscription.
In the future please anonymize private data like jids of other people. :wink:
In case of a missing presence subscription we shouldn't receive the device list thus we usually don't display the missing keys button. I guess in this case the presence subscription was lost during the life time of the gajim session. Imho this is an edge case that can probably be covered by the normal error handling that should be in place anyway to check if the bundle fetch was unsuccessful.
I have seen a similar issue which I've ascribed to a server bug (but this is not confirmed). This was in Conversations, but we observed very similar behavior. The client would still receive the devicelist update, but couldn't fetch the bundle (same <presence-subscription-required/>
error). They still received devicelist updates even after this error was seen, so it definitely wasn't a presence subscription lifecyle/"timing" issue. I don't have any logs or anything, all I know is that we saw this on an ejabberd server.
Having the contact remove and re-add the permission for presence subscription (and re-starting Conversations to trigger a re-fetch of the bundle) fixed the problem in this case, which further points to some bug with ejabberd's presence handling and/or PEP code.
This should be fixed in ce63cc8e583dc6099b45d8cb44ee95c9394b6bd2 Now the ui is only created if the recipient supports OMEMO.
@tristan-k Which Jabber Server are you using ejabberd? If so which exact version on which exact os?
@tristan-k also did updating help? It shouldn't have, my note here was accidental.
The problem I described earlier was on ejabberd-15.07.
@strb So is this the old ejabberd version, which also has other issues with PEP?
@strb @tristan-k
is this still an issue?
closing until there is new information
I'm pushing the button "Get Device Keys" but the XML console is telling me something about an auth error.