summary refs log tree commit diff
path: root/changelog.d/7687.bugfix
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-06-15 17:46:23 +0100
committerGitHub <noreply@github.com>2020-06-15 17:46:23 +0100
commitb8ee03caff36fb85a9023339c39644de0c8f1b83 (patch)
treeee18a08888b4cfe98e04adbceceef8cb09ece2fb /changelog.d/7687.bugfix
parentFix "There was no active span when trying to log." error (#7698) (diff)
downloadsynapse-b8ee03caff36fb85a9023339c39644de0c8f1b83.tar.xz
Update m.id.phone to use 'phone' instead of 'number' (#7687)
The spec [states](https://matrix.org/docs/spec/client_server/r0.6.1#phone-number) that `m.id.phone` requires the field `country` and `phone`.

In Synapse, we've been enforcing `country` and `number`.

I am not currently sure whether this affects any client implementations.

This issue was introduced in #1994.
Diffstat (limited to 'changelog.d/7687.bugfix')
-rw-r--r--changelog.d/7687.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7687.bugfix b/changelog.d/7687.bugfix
new file mode 100644
index 0000000000..0413aff0b3
--- /dev/null
+++ b/changelog.d/7687.bugfix
@@ -0,0 +1 @@
+Accept the proper field (`phone`) for the `m.id.phone` identifier type. The legacy field of `number` is still accepted as a fallback. Bug introduced in v0.20.0-rc1.