aboutsummaryrefslogtreecommitdiff
path: root/gtad
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-11 19:41:59 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-11 19:42:34 +0200
commit743909a728e22f52f7531b0f98395f0361cd0fd3 (patch)
tree59a4bea42f1263f77323c1da2d87934a77a08da5 /gtad
parentf16e4d4e3e293a646569cb765a22607e4fd69756 (diff)
downloadlibquotient-743909a728e22f52f7531b0f98395f0361cd0fd3.tar.gz
libquotient-743909a728e22f52f7531b0f98395f0361cd0fd3.zip
gtad.yaml: Treat child rooms state as events
Diffstat (limited to 'gtad')
-rw-r--r--gtad/gtad.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtad/gtad.yaml b/gtad/gtad.yaml
index 12a27c06..f4ad122e 100644
--- a/gtad/gtad.yaml
+++ b/gtad/gtad.yaml
@@ -119,6 +119,7 @@ analyzer:
# type: Filter
# imports: '"csapi/definitions/sync_filter.h"'
# - getFilter<: *Filter
+ - StrippedChildStateEvent: void # only used in an array, see below
- RoomFilter: # A structure inside Filter, same story as with *_filter.yaml
- OneTimeKeys:
type: OneTimeKeys
@@ -128,8 +129,9 @@ analyzer:
- string: QStringList
- +set: { moveOnly: }
+on:
- - /^Notification|Result$/:
- type: "std::vector<{{1}}>"
+ - /^Notification|Result|ChildRoomsChunk$/: "std::vector<{{1}}>"
+ - StrippedChildStateEvent:
+ type: StateEvents
imports: '"events/eventloader.h"'
- /state_event.yaml$/: StateEvents # 'imports' already set under $ref
- /(room|client)_event.yaml$/: RoomEvents # ditto