summaryrefslogtreecommitdiff
path: root/internal/stream
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-06-07 01:51:13 -0700
committerLibravatar GitHub <noreply@github.com>2024-06-07 10:51:13 +0200
commitafcfa48a7dfc87e35ba32c42b1f37405565a5087 (patch)
tree2639a14b80046914e83f8a7f08f041e6cdfc19d4 /internal/stream
parent[bugfix] Filter fixes (#2971) (diff)
downloadgotosocial-afcfa48a7dfc87e35ba32c42b1f37405565a5087.tar.xz
[feature] Implement filters_changed stream event (#2972)
Diffstat (limited to 'internal/stream')
-rw-r--r--internal/stream/stream.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/stream/stream.go b/internal/stream/stream.go
index ec22464f5..e843a1b76 100644
--- a/internal/stream/stream.go
+++ b/internal/stream/stream.go
@@ -42,6 +42,10 @@ const (
// user's timeline has been edited (yes this
// is a confusing name, blame Mastodon ...).
EventTypeStatusUpdate = "status.update"
+
+ // EventTypeFiltersChanged -- the user's filters
+ // (including keywords and statuses) have changed.
+ EventTypeFiltersChanged = "filters_changed"
)
const (