[Room] Add isDirectChat boolean getter
This commit is contained in:
parent
cccc8d181a
commit
f885dfbecc
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ class Room {
|
|||
return returnUserId;
|
||||
}
|
||||
|
||||
/// Wheither this is a direct chat or not
|
||||
bool get isDirectChat => directChatMatrixID != null;
|
||||
|
||||
/// Must be one of [all, mention]
|
||||
String notificationSettings;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue