I tried sending a message into both an encrypted and nonencrypted room and the message send time was over a minute.
The feedback for pending messages was also odd, as after sending a message, nothing appeared on screen to confirm it was sending. Eventually after ~15s a grey copy of the message appeared, and a little while later it was sent.
What are the rules for showing a local echo representation of a message? Because it feels like one should be shown immediately to the user
I testing today on RiotX 0.16.0 (gplay):
Such situation was when I was in area with bad network connectivity:
I send text to chat - and not see it in chatroom. I try send again... And after ~10 seconds I see that I sent two some messages. This is bad.
I think sended messages must be added to chat window immediately after user press "send button" as greyed. After this riotx must be check network, try send and e.t.c. When message was success sended to server - after that it can become white from grey.
The database is blocked and this will be improved
I'm not sure whether this is the same issue, but in my case the message appears but remains grey for a long time (on the order of several seconds). At first I thought this was just synapse being slow, but talking on the same server from Element Desktop ungreys messages in almost no time at all.
I tried intercepting Element Android's traffic using mitmproxy and the ungreying does not seem to correlate to any HTTP response. Looking at logcat, the ungreying also happens a significant amount of time after the appearance of lines like this one:
09-18 10:21:14.379 9963 10237 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=8238de7f-a733-4e28-abe6-a4ddac91762e, tags={ org.matrix.android.sdk.internal.session.room.send.SendEventWorker, MatrixSDK-7f7bcd9ec91c44bf7b8aed35bf2c58ba } ]
Upon which event does the client ungrey the message?
I can consistently reproduce what @dkasak described too.
Most helpful comment
I'm not sure whether this is the same issue, but in my case the message appears but remains grey for a long time (on the order of several seconds). At first I thought this was just synapse being slow, but talking on the same server from Element Desktop ungreys messages in almost no time at all.
I tried intercepting Element Android's traffic using mitmproxy and the ungreying does not seem to correlate to any HTTP response. Looking at logcat, the ungreying also happens a significant amount of time after the appearance of lines like this one:
Upon which event does the client ungrey the message?