* Add joining with knock room creation flow.
Also add `WaitForInviteView` after knocking.
And appropriate error views when knock failed or gets rejected.
Signed-off-by: Timo K <[email protected]>
* Refactor encryption information.
We had lots of enums and booleans to describe the encryption situation.
Now we only use the `EncryptionSystem` "enum" which contains the
additional information like sharedKey. (and we don't use the isRoomE2EE
function that is somewhat confusing since it checks `return widget ===
null && !room.getCanonicalAlias();` which is only indirectly related to
e2ee)
Signed-off-by: Timo K <[email protected]>
* Update recent list.
- Don't use deprecated `groupCallEventHander` anymore (it used the old
`m.call` state event.)
- make the recent list reactive (getting removed from a call removes the
item from the list)
- support having rooms without shared secret but actual matrix
encryption in the recent list
- change the share link creation button so that we create a link with
pwd for sharedKey rooms and with `perParticipantE2EE=true` for matrix
encrypted rooms.
Signed-off-by: Timo K <[email protected]>
* fix types
Signed-off-by: Timo K <[email protected]>
* patch js-sdk for linter
Signed-off-by: Timo K <[email protected]>
* ignore ts expect error
Signed-off-by: Timo K <[email protected]>
* Fix error in widget mode.
We cannot call client.getRoomSummary in widget mode. The code path needs
to throw before reaching this call. (In general we should never call
getRoomSummary if getRoom returns a room)
Signed-off-by: Timo K <[email protected]>
* tempDemo
Signed-off-by: Timo K <[email protected]>
* remove wait for invite view
Signed-off-by: Timo K <[email protected]>
* yarn i18n
Signed-off-by: Timo K <[email protected]>
* reset back mute participant count
* add logic to show error view when getting removed
* include reason whenever someone gets removed from a call.
* fix activeRoom not beeing early enough
* fix lints
* add comment about encryption situation
Signed-off-by: Timo K <[email protected]>
* Fix lockfile
* Use (unmerged!) RoomSummary type from the js-sdk
Temporarily change the js-sdk dependency to the PR branch that provides
that type
* review
Signed-off-by: Timo K <[email protected]>
* review (remove participant count unknown)
Signed-off-by: Timo K <[email protected]>
* remove error for unencrypted calls (allow intentional unencrypted calls)
Signed-off-by: Timo K <[email protected]>
* update js-sdk
Signed-off-by: Timo K <[email protected]>
---------
Signed-off-by: Timo K <[email protected]>
Co-authored-by: Andrew Ferrazzutti <[email protected]>