fix: don't escape @

This commit is contained in:
Nicolas Werner 2021-10-28 16:46:15 +02:00
parent 7d78233bf0
commit b6eed6daff
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class User extends Event {
room: room);
/// The full qualified Matrix ID in the format @username:server.abc.
String get id => stateKey ?? '\@unknown:unknown';
String get id => stateKey ?? '@unknown:unknown';
/// The displayname of the user if the user has set one.
String? get displayName =>