Rename 'events' to 'timeline' in the sync filter

pull/977/head
Mark Haines 9 years ago
parent a0068e1ada
commit de07586ab7

@ -9,7 +9,7 @@
"The state events to include for rooms.", "The state events to include for rooms.",
"allOf": [{"$ref": "definitions/event_filter.json"}] "allOf": [{"$ref": "definitions/event_filter.json"}]
}, },
"events": { "timeline": {
"description": "description":
"The message and state update events to include for rooms.", "The message and state update events to include for rooms.",
"allOf": [{"$ref": "definitions/event_filter.json"}] "allOf": [{"$ref": "definitions/event_filter.json"}]

@ -50,7 +50,7 @@ paths:
"types": ["m.room.*"], "types": ["m.room.*"],
"not_rooms": ["!726s6s6q:example.com"] "not_rooms": ["!726s6s6q:example.com"]
}, },
"events": { "timeline": {
"types": ["m.room.message"], "types": ["m.room.message"],
"not_rooms": ["!726s6s6q:example.com"], "not_rooms": ["!726s6s6q:example.com"],
"not_senders": ["@spam:example.com"] "not_senders": ["@spam:example.com"]
@ -118,7 +118,7 @@ paths:
"types": ["m.room.*"], "types": ["m.room.*"],
"not_rooms": ["!726s6s6q:example.com"] "not_rooms": ["!726s6s6q:example.com"]
}, },
"events": { "timeline": {
"types": ["m.room.message"], "types": ["m.room.message"],
"not_rooms": ["!726s6s6q:example.com"], "not_rooms": ["!726s6s6q:example.com"],
"not_senders": ["@spam:example.com"] "not_senders": ["@spam:example.com"]

Loading…
Cancel
Save