Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

VoIP virtual rooms, mk II #5639

Merged
merged 11 commits into from
Feb 18, 2021
Merged

VoIP virtual rooms, mk II #5639

merged 11 commits into from
Feb 18, 2021

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Feb 12, 2021

Does a thirdparty protocol lookup to the homeserver to get the
corresponding native/virtual user for a matrix ID. Stores the
mappings in room account data. Involves some slightly nasty workarounds
for that fact that room account data has no local echo.

Removes tests, which is a bit sad, but the logic we were testing is now in the appservice.

Also tidies up a few things on the PSTN lookup (we were not correctly using the prefixed/nonprefixed
protocol name for the lookup).

Does a thirdparty protocol lookup to the homeserver to get the
corresponding native/virtual user for a matrix ID. Stores the
mappings in room account data. Involves some slightly nasty workarounds
for that fact that room account data has no local echo.
dbkr added a commit to element-hq/element-web that referenced this pull request Feb 12, 2021
or: remove the virtual room mapping config option

as per matrix-org/matrix-react-sdk#5639
@dbkr dbkr requested a review from a team February 12, 2021 21:05
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Largely looks reasonable, but I'm hoping we can tune the room management a bit.

src/CallHandler.tsx Outdated Show resolved Hide resolved
src/VoipUserMapper.ts Outdated Show resolved Hide resolved
src/VoipUserMapper.ts Outdated Show resolved Hide resolved
src/CallHandler.tsx Outdated Show resolved Hide resolved
src/stores/room-list/RoomListStore.ts Outdated Show resolved Hide resolved
src/VoipUserMapper.ts Outdated Show resolved Hide resolved
@dbkr dbkr requested a review from jryans February 15, 2021 19:38
src/CallHandler.tsx Show resolved Hide resolved
src/CallHandler.tsx Outdated Show resolved Hide resolved
src/VoipUserMapper.ts Outdated Show resolved Hide resolved
@dbkr dbkr requested a review from jryans February 17, 2021 19:04
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sticking with this and working through alternatives, this is much nicer now with the creation content approach. 😄

@dbkr dbkr merged commit 68933c1 into develop Feb 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants