[Room] Add isDirectChat boolean getter

This commit is contained in:
Christian Pauly 2019-08-29 10:49:07 +02:00
parent cccc8d181a
commit f885dfbecc
1 changed files with 3 additions and 0 deletions

View File

@ -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;