-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
[Bug]: Sent message is show out-of-order for outdated channels #1232
Comments
Please update to the latest monal version. Your version is quite outdated. |
With XEP-0357 that would not have happened in the first place
That's intended behavior. The ordering of messages should reflect the context they were in when sending or receiving them, not some hypothetical chronological order they arrived in at the server. |
The context in which the message was send was today's context, not the context of a few weeks ago. Every other participant in this conversation will see it in that same order. |
Isn't this related to push notifications and updating channels in the background? This seems like a presentational / UI issue, I don't see the correlation. |
The question is, how come the channel was out-of-date and had over a week's worth of messages pending delivery? |
There's plenty of ways for an application to NOT download data:
Even after my device met none of the above conditions, it took several minutes to download messages. |
So you want your message to stay in "pending delivery" state until history finished syncing. |
The context are the messages you were able to read when you wrote your message. That's intentional because it shows what messages were unknown to you when writing that message, even after the catchup was done. All your plenty cases where retrieving messages is delayed are cases that normally don't last long. Especially in those cases, the context of the outgoing message is important. The real problem is, that your push apparently isn't working as intended. And we should try to fix that. What do you get if you go to Settings --> General Settings --> Notifications --> Debug Notification Problems inside Monal? |
Using Push Notifications isn't really working out for me. iOS reports that Monal is responsible for 26% of my battery usage (8h49m running in background during the last 24hs). It is the application which uses the most battery (the second one being Maps at 8%). But I this last week I've only used Monal twice. It's a disproportionate amount of battery drain. Honestly, I don't want Monal to continuously pull messages in the background; I just want it to properly order messages when I do use it. |
Read this wiki page: https://github.com/monal-im/Monal/wiki/Battery-consumption
But the issue you described is that messages you sent while history is syncing are shown out-of-order. And the solution for that is simple: wait for history syncing to finish and then send the messages.
If you still insist on that, you can go to settings -> general settings -> notifications -> notification debugging and set the push server to None. But I do not recommend it. |
What Monal Release channel are you using?
AppStore
iOS system version (if applicable)
18.0
macOS system version (if applicable)
No response
Monal version
6.1.1 (889)
Used XMPP server (domain)
whynothugo.nl
Which XMPP-Server software are you using?
Prosody
XMPP Server Software Version
0.12.4
How many accounts are you using in Monal?
1
What happened?
Anything else?
XEP-0357 is shown in red. I don't believe that this is relevant. All others are supported (purple).
FAQ
Considerations for XMPP users
XEP-Check
Notifications-Menu
The text was updated successfully, but these errors were encountered: