diff --git a/plugin/client_rpc.go b/plugin/client_rpc.go index 5446b40425..e8115d70e5 100644 --- a/plugin/client_rpc.go +++ b/plugin/client_rpc.go @@ -168,6 +168,7 @@ func init() { gob.Register(&model.AutocompleteDynamicListArg{}) gob.Register(&model.AutocompleteStaticListArg{}) gob.Register(&model.AutocompleteTextArg{}) + gob.Register(&model.PreviewPost{}) } // These enforce compile time checks to make sure types implement the interface