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