Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

handlers/_base: allow peeking users to see events in rooms they are members of #593

Closed
wants to merge 1 commit into from

Conversation

Rugvip
Copy link

@Rugvip Rugvip commented Feb 21, 2016

According to spec guests should be able to use the normal /sync API to participate in rooms that they have joined. (Last sentence of 11.13.2.1 GET /_matrix/client/r0/events)

I'm not sure about the logic here though, so gonna need some review. I'm a bit confused about filtering out the room history visibility event for peeking users, and also defaulting to return True if the room visibility is set to an invalid value.

@matrixbot
Copy link
Member

Can one of the admins verify this patch?

…embers of

According to spec guests should be able to use the normal /sync API
to participate in rooms that they have joined.

Signed-off-by: Patrik Oldsberg <patrik.oldsberg@ericsson.com>
@erikjohnston
Copy link
Member

@matrixbot ok to test

@richvdh
Copy link
Member

richvdh commented Feb 22, 2016

@Rugvip: tyvm for the PR. As it happens I've already got a PR open (#587) which does essentially this but also tidies up some of the semantics around what is_peeking means. So with apologies for the wasted time, I'm going to close this.

@Rugvip
Copy link
Author

Rugvip commented Feb 22, 2016

Ok, np

@Rugvip Rugvip closed this Feb 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants