diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-16 20:09:09 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-16 20:51:43 +0300 |
commit | 8a3fbc24ab430443b89dfa45e726ab96ad3ea1ec (patch) | |
tree | 7aab3b58b1d4119c752f8fd549c14e587da15279 /matrix/sync.go | |
parent | c88801a65782d28184aa73a8d25ed3e8a8641f82 (diff) |
Handle m.direct and m.receipt events
Fixes #12
Fixes #45
Diffstat (limited to 'matrix/sync.go')
-rw-r--r-- | matrix/sync.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matrix/sync.go b/matrix/sync.go index 93868c7..330a8c5 100644 --- a/matrix/sync.go +++ b/matrix/sync.go @@ -177,14 +177,14 @@ func (s *GomuksSyncer) GetFilterJSON(userID string) json.RawMessage { Limit: 50, }, Ephemeral: gomatrix.FilterPart{ - Types: []string{"m.typing"}, + Types: []string{"m.typing", "m.receipt"}, }, AccountData: gomatrix.FilterPart{ Types: []string{"m.tag"}, }, }, AccountData: gomatrix.FilterPart{ - Types: []string{"m.push_rules"}, + Types: []string{"m.push_rules", "m.direct"}, }, Presence: gomatrix.FilterPart{ Types: []string{}, |