Enabled NotificationSettings by default, Fix spacing, use activeMemberCount for isOneToOne.
- Enabled Notification Settings by default - Fix spacing - Use activeMemberCount for isOneToOne
This commit is contained in:
parent
48e24a0b6a
commit
5e8cb958f8
5 changed files with 4 additions and 7 deletions
|
|
@ -53,7 +53,7 @@ interface MatrixRoom : Closeable {
|
|||
* A one-to-one is a room with exactly 2 members.
|
||||
* See [the Matrix spec](https://spec.matrix.org/latest/client-server-api/#default-underride-rules).
|
||||
*/
|
||||
val isOneToOne: Boolean get() = joinedMemberCount == 2L
|
||||
val isOneToOne: Boolean get() = activeMemberCount == 2L
|
||||
|
||||
/**
|
||||
* The current loaded members as a StateFlow.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue