diff --git a/services/xmpp_client.py b/services/xmpp_client.py index a1f691d..f58cb7a 100644 --- a/services/xmpp_client.py +++ b/services/xmpp_client.py @@ -308,7 +308,8 @@ class XMPPClient(ClientXMPP): self._agent_loop(session, jid, body, 'chat', sender_nickname=jid) - session.start_timer(300, self._timeout_session, jid, 'chat') + # DM: timeout 24 jam (efektif tidak auto-close), MUC tetap 5 menit + session.start_timer(86400, self._timeout_session, jid, 'chat') def _process_muc(self, room, nick, body): session = self._session_mgr.get_or_create(