element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.37k stars 718 forks source link

Server taking too long to respond when updating display name and shown error despite success #6650

Open kittykat opened 2 years ago

kittykat commented 2 years ago

Steps to reproduce

  1. Settings -> change your display name

Outcome

What did you expect?

What happened instead?

App is blocked by a spinner, which after a few minutes changes to a "server taking too long, try again later" error dialog

Even though the error tells me that the display name update failed, it's actually succeeded

Your phone model

No response

Operating system version

Android 11

Application version and app store

Element 1.4.27

Homeserver

No response

Will you send logs?

Yes

Are you willing to provide a PR?

No

bmarty commented 2 years ago

Related https://github.com/matrix-org/synapse/issues/1297

ouchadam commented 2 years ago

I'm not sure there's much we can do from the client side unless we want to to break away from being in sync with the homeserver and use our own local name whilst attempting to update in the background