famedly / matrix-dart-sdk

Matrix SDK written in pure Dart.
GNU Affero General Public License v3.0
62 stars 31 forks source link

fix: Do not use invitor avatar_url for room #1758

Closed krille-chan closed 6 months ago

krille-chan commented 6 months ago

When user A invites user B to a group chat, the avatar getter should not return the avatar of the inviting user A. This is not intuitive. A client might decide to do so but IMO it makes no sense to do this by default. If the room is a DM invite, user A's avatar is already used in the code block before.