matrix-org / matrix-spec-proposals

Proposals for changes to the matrix specification
Apache License 2.0
987 stars 375 forks source link

spec phone numbers 3PID lookup #863

Closed maxidorius closed 6 years ago

maxidorius commented 7 years ago

sydent and riot clients now have support for phone numbers 3PID lookup but no spec to back it up. As the author of mxisd, a formal spec is necessary at this point so this can be implemented.

Non-exhaustive list of important points to clarify in the spec:

dbkr commented 7 years ago

There is actually nothing to spec here since, for now, it re-uses the same /lookup and /bulk_lookup APIs (the latter is waiting to be specced but that's an aside). It probably wouldn't hurt to make it clearer in the spec how this works though.

maxidorius commented 7 years ago

For clarification, msisdn is the actual number format to use for phone numbers.
Knowing this, all questions are actually answered.

I've also updated the issue name to better reflect that we are talking about phone numbers here, using msisdn format.

maxidorius commented 7 years ago

If I may: msisdn is confusing to people without a phone tech background.
Spec documents should actually talk about phone numbers and only mention msisdn when talking about the format or lookup details.

maxidorius commented 6 years ago

Part of this would be solved by #1039 and #1040. What msisdn is should still be clarified in the spec.

maxidorius commented 6 years ago

Unofficial documentation aligned on current implementations: https://github.com/eventually-matrix/matrix-doc/commit/f1b192c5e109d6f9b92f5c5b54ef0cc5b161ab95

uhoreg commented 6 years ago

As the msisdn 3pid type is now documented, as well as the bulk lookup, is this issue fixed?

maxidorius commented 6 years ago

There is another format used, so not fully done yet.

turt2live commented 6 years ago

I believe this is completed. The appendix says they use the E.164 numbering plan and do not include a +. With the lookup otherwise looking specified, I'm closing this.