mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
modules/client/rooms/initialsync: Default on the membership check for unauth'ed user.
This commit is contained in:
parent
f8e356eb0e
commit
6dbb1864dd
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ get__initialsync(client &client,
|
||||||
char membership_buffer[64];
|
char membership_buffer[64];
|
||||||
const string_view membership
|
const string_view membership
|
||||||
{
|
{
|
||||||
room.membership(membership_buffer, m::user::id{request.user_id})
|
request.user_id? room.membership(membership_buffer, m::user::id{request.user_id}) : string_view{}
|
||||||
};
|
};
|
||||||
|
|
||||||
//TODO: XXX
|
//TODO: XXX
|
||||||
|
|
Loading…
Reference in a new issue