aboutsummaryrefslogtreecommitdiff
path: root/internal/eventutil
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-10-11 12:27:21 +0100
committerGitHub <noreply@github.com>2022-10-11 12:27:21 +0100
commit0a9aebdf011921680e5b0646bf50d7900423aa69 (patch)
treeae111f8aba12c73a0d4c4ec32f3e109d401693e3 /internal/eventutil
parent3920b9f9b6155db69822d0dbcd36acb1eaa51c34 (diff)
Private read receipts (#2789)
Implement behaviours for `m.read.private` receipts.
Diffstat (limited to 'internal/eventutil')
-rw-r--r--internal/eventutil/types.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/eventutil/types.go b/internal/eventutil/types.go
index afc62d8c..18175d6a 100644
--- a/internal/eventutil/types.go
+++ b/internal/eventutil/types.go
@@ -35,8 +35,9 @@ type AccountData struct {
}
type ReadMarkerJSON struct {
- FullyRead string `json:"m.fully_read"`
- Read string `json:"m.read"`
+ FullyRead string `json:"m.fully_read"`
+ Read string `json:"m.read"`
+ ReadPrivate string `json:"m.read.private"`
}
// NotificationData contains statistics about notifications, sent from