diff --git a/fedilogue/stream.go b/fedilogue/stream.go index d44fc3d..7dd5bb6 100644 --- a/fedilogue/stream.go +++ b/fedilogue/stream.go @@ -87,6 +87,9 @@ func StreamMastodon(endpoint string, o *shared.RunningInstance) { case "data": switch name { case "update": + if len(token) >= 2 && len(token[1]) >= 2 { + continue + } jsondata := token[1][1:] err := json.Unmarshal([]byte(jsondata), &newactivity) if err != nil {