mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-19 09:34:09 +02:00
Add a "limit" to the timeline key in the example filter
This commit is contained in:
parent
c3b3b2df63
commit
393d283139
|
|
@ -51,6 +51,7 @@ paths:
|
||||||
"not_rooms": ["!726s6s6q:example.com"]
|
"not_rooms": ["!726s6s6q:example.com"]
|
||||||
},
|
},
|
||||||
"timeline": {
|
"timeline": {
|
||||||
|
"limit": 10,
|
||||||
"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"]
|
||||||
|
|
@ -119,6 +120,7 @@ paths:
|
||||||
"not_rooms": ["!726s6s6q:example.com"]
|
"not_rooms": ["!726s6s6q:example.com"]
|
||||||
},
|
},
|
||||||
"timeline": {
|
"timeline": {
|
||||||
|
"limit": 10,
|
||||||
"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…
Reference in a new issue