element-hq / element-x-android

Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
GNU Affero General Public License v3.0
998 stars 136 forks source link

Room messages are not updated unless restarted #2668

Open nitanmarcel opened 5 months ago

nitanmarcel commented 5 months ago

Steps to reproduce

Create a room with too separate accounts, send a message from on of the accounts and notice that the room timeline doesn't get updated in real time from the other account receiving and viewing the timeline.

Outcome

What did you expect?

New messages should be added to the timeline.

What happened instead?

Room timeline doesn't get updated in real time as messages are received.

Your phone model

OnePlus 6T

Operating system version

Android 14

Application version and app store

0.4.7 PlayStore

Homeserver

Synapse 1.93.0

Will you send logs?

Yes

Are you willing to provide a PR?

No

bmarty commented 3 months ago

What do you mean by "in real time"? Do the new messages arrive after a few seconds?

nitanmarcel commented 3 months ago

What do you mean by "in real time"? Do the new messages arrive after a few seconds?

I have to exit the room then come back, they don't update while the chat is open

nitanmarcel commented 3 months ago

Basically it needs to do a sync to get new messages. That's what I meant