Show a prompt to reinvite other party in a DM

If you are looking at a DM where the other party has left then
when you focus the composer for the first time we'll show a
dialog asking if you want to reinvite the other party.

Closes #590
This commit is contained in:
Chris Smith 2023-06-27 11:36:14 +01:00
parent 2ce614ae97
commit 53861fedb6
18 changed files with 327 additions and 6 deletions

View file

@ -174,6 +174,9 @@ class RustMatrixRoom(
override val joinedMemberCount: Long
get() = innerRoom.joinedMembersCount().toLong()
override val activeMemberCount: Long
get() = innerRoom.activeMembersCount().toLong()
override suspend fun updateMembers(): Result<Unit> = withContext(coroutineDispatchers.io) {
val currentState = _membersStateFlow.value
val currentMembers = currentState.roomMembers()