summaryrefslogtreecommitdiff
path: root/internal/stream/stream.go
diff options
context:
space:
mode:
authorLibravatar Sam Lade <sam@sentynel.com>2023-12-16 11:55:49 +0000
committerLibravatar GitHub <noreply@github.com>2023-12-16 12:55:49 +0100
commit285d55dda8b4de70661b16db4986d47e4e586ea2 (patch)
tree17e460f916370898d3568c6ba569686e9350aedd /internal/stream/stream.go
parent[feature] Run ANALYZE after migrations on SQLite (#2428) (diff)
downloadgotosocial-285d55dda8b4de70661b16db4986d47e4e586ea2.tar.xz
[feature] Push status edit messages into open streams (#2418)
* push status edit messages into open streams * fix a few comments * test++ * commented out code? moi?
Diffstat (limited to 'internal/stream/stream.go')
-rw-r--r--internal/stream/stream.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/stream/stream.go b/internal/stream/stream.go
index ae815e029..da5647433 100644
--- a/internal/stream/stream.go
+++ b/internal/stream/stream.go
@@ -26,6 +26,9 @@ const (
EventTypeUpdate string = "update"
// EventTypeDelete -- something should be deleted from a user
EventTypeDelete string = "delete"
+ // EventTypeStatusUpdate -- something in the user's timeline has been edited
+ // (yes this is a confusing name, blame Mastodon)
+ EventTypeStatusUpdate string = "status.update"
)
const (