mirror of
https://github.com/matrix-org/synapse.git
synced 2025-08-27 09:21:08 +02:00
v2 /sync: Rename the keys of the 'rooms' object to match member states
joined->join invited->invite archived->leave
This commit is contained in:
parent
3c3fc6b268
commit
24ae0eee8e
@ -148,9 +148,9 @@ class SyncRestServlet(RestServlet):
|
|||||||
sync_result.presence, filter, time_now
|
sync_result.presence, filter, time_now
|
||||||
),
|
),
|
||||||
"rooms": {
|
"rooms": {
|
||||||
"joined": joined,
|
"join": joined,
|
||||||
"invited": invited,
|
"invite": invited,
|
||||||
"archived": archived,
|
"leave": archived,
|
||||||
},
|
},
|
||||||
"next_batch": sync_result.next_batch.to_string(),
|
"next_batch": sync_result.next_batch.to_string(),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user