appservice: start presence heartbeat before plugin init so bot shows online from boot

This commit is contained in:
prosolis
2026-07-04 10:36:44 -07:00
parent d3f42009f7
commit 0f82a088f9
3 changed files with 45 additions and 18 deletions

View File

@@ -227,8 +227,6 @@ func (s *Session) runAppservice(ctx context.Context) error {
close(errCh)
}()
go s.runPresenceHeartbeat(ctx)
slog.Info("appservice listener started", "address", s.as.Host.Address())
select {