Open WhyNotHugo opened 2 months ago
Please update to the latest monal version. Your version is quite outdated. Further, please configure your server appropriately to support XEP-0357 and ensure that your server can reach our push servers. Otherwise, push will not work (as expected)
The channel was out-of-date and had over a week's worth of messages pending delivery.
With XEP-0357 that would not have happened in the first place
All the old messages were loaded, and are shown beneath my new message.
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.
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.
With XEP-0357 that would not have happened in the first place
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.
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? If you had push notifications, and the account was enabled during the week, you wouldn't have had that situation.
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. Conversations does that by only considering a room as "online" (green send button) after finishing history sync.
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? Does every entry have a green checkmark there?
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.
It's a disproportionate amount of battery drain.
Read this wiki page: https://github.com/monal-im/Monal/wiki/Battery-consumption
I just want it to properly order messages when I do use it.
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.
I don't want Monal to continuously pull messages in the background
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