[Room] Add isDirectChat boolean getter

This commit is contained in:
Christian Pauly 2019-08-29 10:49:07 +02:00
parent cccc8d181a
commit f885dfbecc

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;