diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-10-29 17:43:18 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-10-29 17:44:57 +0000 |
commit | 0f192579ac9262ae07eeb0865a8565c37326e968 (patch) | |
tree | 2654ec7a7f25402aff8c8b6b85bf3f974c093305 /synapse/handlers/presence.py | |
parent | Use floating-point rather than integer division to handle timeouts so that no... (diff) | |
download | synapse-0f192579ac9262ae07eeb0865a8565c37326e968.tar.xz |
SYWEB-48: Better regex for binging on usernames.
This uses /\blocalpart\b|\bdisplayname\b/i which is overall a lot better than before. This specifically gets @localpart references which the bug was originally for.
Diffstat (limited to 'synapse/handlers/presence.py')
0 files changed, 0 insertions, 0 deletions