otrv4 / pidgin-otrng

Fork of https://bugs.otr.im/plugins/pidgin-otr. This is a mirror of https://bugs.otr.im/otrv4/pidgin-otrng
GNU General Public License v2.0
16 stars 5 forks source link

Not processing the received non-interactive auth and dake dake message #51

Closed claucece closed 6 years ago

claucece commented 6 years ago

The non-interactive auth and the dake data message get send. However, they are received but not processed.

olabini commented 6 years ago

This is not really a bug in our code - it's a bug in the docker-compose, where it doesn't have write permissions to the mapped volume, thus can't store offline messages. The way to fix it is to figure out the uid/gid of the inside-docker prosody user, and then chmod the docker-compose prosody/data directory.

This does have another implication - we should check if the server has msgoffline among the features in disco#info - as described in https://xmpp.org/extensions/xep-0160.html - we should also notice when an offline message delivery fails, and handle properly.

claucece commented 6 years ago

Thanks! @olabini

This does have another implication - we should check if the server has msgoffline among the features in disco#info - as described in https://xmpp.org/extensions/xep-0160.html - we should also notice when an offline message delivery fails, and handle properly.

I'll put this on the appropriate issue.