You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
Perhaps I'm misunderstanding something here, but isn't that already implemented? Avatar and display name can only be changed through the /profile API and the handlers for PutAvatarUrl and PutDisplayName both call models::profile::Profile::update_memberships which then calls RoomMembership::update which finally emits an m.room.member event.
@jooert Seems you are right regarding the m.room.member event. Reading through the code the issue seems to be about the m.presence event also.
The problems is in PresenceStatus::upsert which is called after a profile update. Here we create the event_id but we don't use it to create the actual event in PresenceStatus::update (like we do in PresenceStatus::create) which leave us with a dangling event_id.
mujx
changed the title
Sending a m.room.member event again after changing avatar or displayname
Sending a m.room.member and m.presence events again after changing avatar or displayname
Mar 22, 2017
mujx
changed the title
Sending a m.room.member and m.presence events again after changing avatar or displayname
Sending m.room.member and m.presence events again after changing avatar or displayname
Mar 22, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See http://matrix.org/speculator/spec/HEAD/client_server/unstable.html#events-on-change-of-profile-information
The text was updated successfully, but these errors were encountered: