Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some tests to check for adding/removing aliases #792

Merged
merged 1 commit into from
Jan 31, 2020

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 28, 2020

Make sure that users can add and remove aliases even if the m.room.aliases PL
is restricted.

Make sure that users can add and remove aliases even if the m.room.aliases PL
is restricted.
@richvdh richvdh requested a review from a team January 28, 2020 17:50

content => { room_id => $room_id },
test "Regular users can add and delete aliases when m.room.aliases is restricted",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this only pass on old room versions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should pass on all room versions. The idea of MSC2260 is that you can still add aliases, but if you don't have perms in the room there will be no m.room.aliases event.

@richvdh richvdh requested a review from a team January 29, 2020 11:55
@richvdh richvdh merged commit ce6ece7 into develop Jan 31, 2020
@richvdh richvdh deleted the rav/alias_add_remove_tests branch January 31, 2020 09:59
anoadragon453 added a commit that referenced this pull request Mar 23, 2020
…ease-v1.10.x

* origin/release-v1.10.0:
  remove checks on m.room.aliases (#801)
  Remove test which uses unspecced /events?dir=b (#794)
  Add some tests to check for adding/removing aliases (#792)
  Add test for ensuring power levels are correctly handled during upgrade (#777)
  Test that fetching device correctly resyncs (#791)
  Add support for experimental MSC2260 room version (#790)
  Fix power levels being sent as strings (#789)
  Don't respond with 503 as server will be marked as down. (#788)
  Test Synapse with MAU limits enabled. (#782)
  Fix docker/push.sh and make it echo commands
  Change postgres in docker image to use C collation/ctype. (#783)
  Add a passing test for recovery from gappy device list updates (#761)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants