From affbd50d020b92032c391593f55aa6f39e1dc962 Mon Sep 17 00:00:00 2001 From: Alexei Anoshenko <2277098+anoshenko@users.noreply.github.com> Date: Wed, 2 Sep 2026 17:48:21 +0300 Subject: [PATCH] Fixing --- appWasm.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appWasm.go b/appWasm.go index ed3add1..a6eaa82 100644 --- a/appWasm.go +++ b/appWasm.go @@ -63,6 +63,10 @@ func (app *wasmApp) handleMessage(this js.Value, args []js.Value) any { func (app *wasmApp) removeSession(id int) { } +func (app *wasmApp) getCreateContentFunc() func(Session) SessionContent { + return app.createContentFunc +} + func (app *wasmApp) createSession() Session { obj, _ := ParseDataText(js.Global().Call("sessionInfo", "").String()) session := newSession(app, 0, "", obj)