From ef639973b7665d6f1d054359fe9569be6decc21f Mon Sep 17 00:00:00 2001 From: Christopher Poile Date: Thu, 23 Sep 2021 13:27:09 -0400 Subject: [PATCH] register PreviewPost for RPC connections (#18452) --- plugin/client_rpc.go | 1 + 1 file changed, 1 insertion(+) 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