synapse-product/changelog.d/13746.bugfix
Sean Quah 8ef0c8ff14
Fix error in is_mine_id when encountering a malformed ID (#13746)
Previously, `is_mine_id` would raise an exception when passed an ID with
no colons. Return `False` instead.

Fixes #13040.

Signed-off-by: Sean Quah <seanq@matrix.org>
2022-09-08 15:54:36 +01:00

2 lines
123 B
Plaintext

Fix a long standing bug where Synapse would fail to handle malformed user IDs or room aliases gracefully in certain cases.