-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delivery of offline messages #65
Comments
It should work in server mode, but yes, patches are welcome |
Do you still have that patch? Even if it's not perfect, it would help us. |
Sorry, I completely missed this message here. Never checked the Repo anymore because I thought spectrum2 is dead. Are you still interested in the patch? |
Try him by attaching it ;) |
ping? |
I am running Spectrum2 as a transport for F-Chat (libpurple backend) and they dont support offline messages at all. |
This is more a question about the implementation then a bug report.
spectrum2 is configured to run in "server mode" and to use the "purple backend"
I play around with spectrum2 since a few days and noticed that offline messages are not properly delivered. But I'm not really sure if this is a problem with the plugins I tested, because at least for prpl-jabber the delivery worked.
I tried to work around this issue by setting spectrum2 to bouncer mode (transport setting "Stay connected to legacy network when offline on XMPP") to hold the connection when I disconnect.
But the delivery of offline-messages does still not work when reconnecting, actually spectrum2 just "eats" the messages and they are gone.
By looking at the code the message buffering and playback is implemented, but only works in Gateway mode.
Is there a reason why this isn't implemented for server mode? I created a quick&dirty patch (needs some cleanup ^^) that fixes message-buffering and -playback in server mode. Is there any interest in this?
The text was updated successfully, but these errors were encountered: