A filtered /sync
for a specific room does not include account_data or ephemeral events in its response
#13648
Labels
/sync
for a specific room does not include account_data or ephemeral events in its response
#13648
This issue has been migrated from #13648.
Description
I use the /sync endpoint with and without filters as JSON;
As filter i specify only one room id (!OMulzyGFCfueIWFHSU:matrix.connectme.anais.tech), and i indeed get only that room in rooms->join->[room id] and there are no events under
[room id]->account_data -> events or [room id]->ephemeral -> events.
If i do not specify any filter, i get more rooms, including the one with id: !OMulzyGFCfueIWFHSU:matrix.connectme.anais.tech
but there are events under: [room id]->account_data -> events and [room id]->ephemeral -> events for exactly the room with id !OMulzyGFCfueIWFHSU:matrix.connectme.anais.tech
Steps to reproduce
and there are events under: [room id]->account_data -> events and [room id]->ephemeral -> events
http://synapse:8008/_matrix/client/v3/sync?user_id=@crx66ctg69h32rv55mr3gd1n5mu3arb25nh3ce325ngk0ctn60up4c1h6hhk2ek7c5h74ub5dh066vvge1jpwwv9dtu2wrvfdm:matrix.connectme.anais.tech&
[room id]->account_data -> events or [room id]->ephemeral -> events.
http://synapse:8008/_matrix/client/v3/sync?user_id=@crx66ctg69h32rv55mr3gd1n5mu3arb25nh3ce325ngk0ctn60up4c1h6hhk2ek7c5h74ub5dh066vvge1jpwwv9dtu2wrvfdm:matrix.connectme.anais.tech&filter=%7B%22room%22%3A+%7B%22rooms%22%3A+%5B%22%21OMulzyGFCfueIWFHSU%3Amatrix.connectme.anais.tech%22%5D%7D%7D
-- as can be seen up, the filter is : {filter: "{"room": {"rooms": ["!OMulzyGFCfueIWFHSU:matrix.connectme.anais.tech'"]}}"}
and the there are events under: [room id]->account_data -> events and [room id]->ephemeral -> events
http://synapse:8008/_matrix/client/v3/sync?user_id=@crx66ctg69h32rv55mr3gd1n5mu3arb25nh3ce325ngk0ctn60up4c1h6hhk2ek7c5h74ub5dh066vvge1jpwwv9dtu2wrvfdm:matrix.connectme.anais.tech&
Homeserver
local homeserver running in a docker
Synapse Version
{"server_version":"1.61.1","python_version":"3.9.13"}
Installation Method
Docker (matrixdotorg/synapse)
Platform
docker running on Ubuntu Linux
Relevant log output
Response without a filter
https://gist.github.com/andreidiaconescu/b46175c38a05e705187d00195a548f04
Response with filter {filter: "{"room": {"rooms": ["!OMulzyGFCfueIWFHSU:matrix.connectme.anais.tech'"]}}"}
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: