aboutsummaryrefslogtreecommitdiff
path: root/internal/net/web.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/net/web.go')
-rw-r--r--internal/net/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/net/web.go b/internal/net/web.go
index e573aba..233928f 100644
--- a/internal/net/web.go
+++ b/internal/net/web.go
@@ -64,6 +64,7 @@ func newHTTPMux(s *Server) *http.ServeMux {
Conn: newWSConn(ws),
State: StateAccountName,
}
+ sess.StartWriter()
s.hub.Add(sess)
go s.handleSession(sess, s.handler)
})