diff --git a/lib/src/room.dart b/lib/src/room.dart index 09b1bf8e..86ec752d 100644 --- a/lib/src/room.dart +++ b/lib/src/room.dart @@ -1991,8 +1991,8 @@ class Room { return (powerLevelState is Map) ? powerLevelState : null; } - /// Uploads a new user avatar for this room. Returns the event ID of the new - /// m.room.avatar event. Leave empty to remove the current avatar. + /// Uploads a new avatar for this room. Returns the event ID of the new + /// m.room.avatar event. Insert null to remove the current avatar. Future setAvatar(MatrixFile? file) async { final uploadResp = file == null ? null