matrix-nio's AsyncClient.set_presence() is called every 60s in a background task so Matrix clients see the bot as online. On shutdown the bot sets itself to offline. https://claude.ai/code/session_01DuzWyMMXvLMB4VxEwJyV4X
1.3 KiB
1.3 KiB