This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Use the v2 lookup API for 3PID invites #5861
Closed
Description
When processing a 3PID invite, the HS currently looks up the 3PID on the IS using v1/lookup
.
MSC2134 has defined a v2/lookup
API that supports using hashed addresses. (More discussion is needed to decide whether the HS should use hash alg none
and continue to send plain text for this case or instead actually hash the value from HS to IS.)
Since the intention is to remove the v1 IS API down the road, we'll want to do this migration to cover all usages of v1.