Catch up to past messages after reconnecting #8
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: genofire/unified-push-xmpp#8
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If the device is offline for a while this should go back to look at what messages have been sent before. This will probably be solved after #2 because no persistent storage mechanism is defined yet.
Normaly the XMPP-Server should store offline messages till client reconnect.
I am not sure why it does not work, maybe problems are:
if distributer is offline (and gateway recieve an message) it will deliever message after restart of distribute on my instance.
Maybe application miss the message if the distributer send it to dbus without an reciever.
Looks good for me -> maybe we should run an startup test of distributor if xmpp-account-server has offline messages: https://xmpp.org/extensions/xep-0160.html
Maybe we should send:
I'm pretty sure that's not the problem because the following happens:
This might be specific to xmpp extensions on my instance? I'll have to look into this further and see.
Thanks for your checklist, that is what works for me :(
I am also believe, that is a problem of an deactivated XEP for offline messages.
Therefore i like to write an check in the distributor, that print a warning, if this extentions is not available.
I'm pretty sure it works on my server because I can access messages in Conversations after clearing data.
This probably needs to be implemented in the distributor, I'll see if I can do it today: https://mellium.im/xmpp/history/
do you use your account only for this distributor?
msgoffline
would not be the solution then (i write a check for it)so if the
msgoffline
is supported is now checked on startup - do you become this warning?no, i have conversations and dino as well. maybe that's the issue.
I don't get the 'your server does not support offline messages (XEP-0160)' message.
I tried turning off both dino and force stopping conversations, and then trying the whole process, but still doesn't work.
Maybe https://mellium.im/xmpp/history/ (xep-0313), which both dino and conversations use, would work better since it can conditionally request certain chats. I'll run some tests with it pretty soon and will let you know how it works.
BTW: in conversations you have the option to disable your account
Yes i believe that is the problem - there is also a problem when you have on modern client online - there have active carbon-copy ....
okay so i believe we really have to scrape the history