From 0c8ebde217d31cd30b5a2f57150c9dbc8cd025ba Mon Sep 17 00:00:00 2001 From: admin-mf Date: Thu, 7 May 2026 12:13:10 -0500 Subject: [PATCH] forward-port: register magicform channel in gateway init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re-applies the magicform channel registration to upstream's new gateway location (pkg/gateway/gateway.go) — previously in the deleted cmd/picoclaw/internal/gateway/helpers.go. Without this, channels.RegisterFactory("magicform", ...) is never invoked and the channel will not load even when configured. Co-Authored-By: Claude Opus 4.7 (1M context) --- pkg/gateway/gateway.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gateway/gateway.go b/pkg/gateway/gateway.go index 4fd06d836..4799dbb70 100644 --- a/pkg/gateway/gateway.go +++ b/pkg/gateway/gateway.go @@ -24,6 +24,7 @@ import ( _ "github.com/sipeed/picoclaw/pkg/channels/feishu" _ "github.com/sipeed/picoclaw/pkg/channels/irc" _ "github.com/sipeed/picoclaw/pkg/channels/line" + _ "github.com/sipeed/picoclaw/pkg/channels/magicform" _ "github.com/sipeed/picoclaw/pkg/channels/maixcam" _ "github.com/sipeed/picoclaw/pkg/channels/onebot" _ "github.com/sipeed/picoclaw/pkg/channels/pico"