# HG changeset patch # User Mikael Berthe # Date 1509223561 -7200 # Node ID 0b30e670aa82b58dfaa763ace9317ab6f2c9f63d # Parent 1812a794b7598f6b919c683d2646e9f3bf25268c Streams: Fix string IDs for deletion events with Mastodon v2 API (Needs madon library update) This should fix https://github.com/McKael/madonctl/issues/10 Thanks to @wxl for the report. diff -r 1812a794b759 -r 0b30e670aa82 cmd/stream.go --- a/cmd/stream.go Sat Oct 21 19:17:07 2017 +0200 +++ b/cmd/stream.go Sat Oct 28 22:46:01 2017 +0200 @@ -213,7 +213,7 @@ continue } // TODO PrintObj ? - errPrint("Event: [%s] Status %d was deleted", ev.Event, ev.Data.(int64)) + errPrint("Event: [%s] Status %s was deleted", ev.Event, ev.Data.(string)) default: errPrint("Unhandled event: [%s] %T", ev.Event, ev.Data) }