chore: Clarify room.setAvatar docs

This commit is contained in:
Christian Kußowski 2025-08-29 09:47:29 +02:00
parent f815665803
commit 0994fcfe8b
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652
1 changed files with 2 additions and 2 deletions

View File

@ -1991,8 +1991,8 @@ class Room {
return (powerLevelState is Map<String, int>) ? 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<String> setAvatar(MatrixFile? file) async {
final uploadResp = file == null
? null