hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
251 stars 20 forks source link

OTR and multiple resources #177

Open neubyi opened 6 years ago

neubyi commented 6 years ago
hannesm commented 6 years ago

thanks for the report!

the negative priority is a bad idea, meant to be for bots. from reading https://tools.ietf.org/html/rfc6121#section-8 I gathered that a negative priority will usually not work nicely (e.g. when sending messages to the bare contact, rather than the bare+resource).

given the deployment of negative priorities (if the issue is related to this), maybe jackline should treat them "normally" (I'm not sure whether this is the actual issue or not, and will need some time to remind myself of the code and branches which are taken if priority is negative)

TealG commented 6 years ago

I have experienced a similar issue when multiple sessions are open to a contact, it happens sometimes that I get this Malformed OTR data message: type error, and then the OTR session restarts.. Seems like this happens when on the left side the list of sessions of the contact is open, it does not happen when the list is hidden and a + sign is shown in front (in both cases sending message to the generic contact not a particular session) Not sure if this issue is specific to the client of the other side, so far I had this issue with 2 contacts using pidgin.