summary refs log tree commit diff
path: root/scripts-dev/tail-synapse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-19Use six.moves.filter when filtering out from MXIDBrendan Abolivier1-1/+3
Python 2's filter() function and Python 3's don't return the same type when processing a string (respectively str and filter), therefore use six's compatibility mapping (which resolves to itertools.ifilter() if using Python2), then generate a string from the filtered list, in order to ensure consistent behaviour between Python 2 and Python 3.
2019-09-19Add unit tests for strip_invalid_mxid_charactersBrendan Abolivier1-1/+21