You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
When trying to call /joined_members synapse incorrectly claims that the appservice wasn't in the room. While the appservice bot itself is indeed not in the room, the ghost set in the user_id query parameter is.
(The appservice token is only for a local install)
Steps to reproduce
start synapse
call /joined_members as an appservice ghost that the ghost is in --> it returns the results just fine
set a state event as said ghost with the state_key being its mxid. This needs to actually create a new / modify the existing state, else the bug won't trigger
call again /joined_members, synapse now claims the appservice wasn't in the room until a restart occurs
Turns out this is the same cause as #7099 (custom events corrupting the users_in_room cache) and therefore will be fixed by #7376, thanks to @Sorunome for investigating and pointing it out.
Fix a bug where the `get_joined_users` cache could be corrupted by custom
status events (or other state events with a state_key matching the user ID).
The bug was introduced by #2229, but has largely gone unnoticed since then.
Fixes#7099, #7373.
)
Fix a bug where the `get_joined_users` cache could be corrupted by custom
status events (or other state events with a state_key matching the user ID).
The bug was introduced by matrix-org#2229, but has largely gone unnoticed since then.
Fixesmatrix-org#7099, matrix-org#7373.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
When trying to call
/joined_members
synapse incorrectly claims that the appservice wasn't in the room. While the appservice bot itself is indeed not in the room, the ghost set in theuser_id
query parameter is.(The appservice token is only for a local install)
Steps to reproduce
/joined_members
as an appservice ghost that the ghost is in --> it returns the results just finestate_key
being its mxid. This needs to actually create a new / modify the existing state, else the bug won't trigger/joined_members
, synapse now claims the appservice wasn't in the room until a restart occursVersion information
Install method:
git clone
Platform:
archlinux
The text was updated successfully, but these errors were encountered: