Add support for profile updates via presence system
Profile updates cause state event propagation in every room, which is not very good for performance. MSC 4069 (https://github.com/matrix-org/matrix-spec-proposals/pull/4069) was created to allow for inhibiting global profile propagation in rooms.
Now that we have turned on server presence with changes that removes the performance issues, we can now use the presence system to track profile updates (and status messages if we want to support that) https://spec.matrix.org/v1.10/client-server-api/#presence
We should eventually:
- Set
propagate=false
fordisplayname
andavatar_url
when changing your own profile - Track profile updates via sync response's
presence
fields for tracker other user's profiles