summary refs log tree commit diff
path: root/snap
diff options
context:
space:
mode:
authorreivilibre <38398653+reivilibre@users.noreply.github.com>2021-08-31 10:09:58 +0100
committerGitHub <noreply@github.com>2021-08-31 10:09:58 +0100
commit52c7a51cfc568ed61d800df99dcca25dc3b5fe3e (patch)
tree60d4a8ba77d6f3d8c06dcd81259a2233900c97bd /snap
parentFix incompatibility with Twisted < 21. (#10713) (diff)
downloadsynapse-52c7a51cfc568ed61d800df99dcca25dc3b5fe3e.tar.xz
Merge pull request from GHSA-3x4c-pq33-4w3q
* Add some tests to characterise the problem

Some failing. Current states:

  RoomsMemberListTestCase
test_get_member_list ...
[OK]
test_get_member_list_mixed_memberships ...
[OK]
test_get_member_list_no_permission ...
[OK]
test_get_member_list_no_permission_former_member ...
[OK]
test_get_member_list_no_permission_former_member_with_at_token ...
[FAIL]
test_get_member_list_no_room ...
[OK]
test_get_member_list_no_permission_with_at_token ...
[FAIL]

* Correct the tests

* Check user is/was member before divulging room membership

* Pull out only the 1 membership event we want.

* Update tests/rest/client/v1/test_rooms.py

Co-authored-by: Erik Johnston <erik@matrix.org>

* Fixup tests (following apply review suggestion)

Co-authored-by: Erik Johnston <erik@matrix.org>
Diffstat (limited to 'snap')
0 files changed, 0 insertions, 0 deletions