Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)
Python
Revert "fixed telegram replies not being able to access context"
Alishahryar1e7b165b619ad
diff --git a/messaging/handler.py b/messaging/handler.pyindex f5ca7e89..65ab9bdf 100644--- a/messaging/handler.py+++ b/messaging/handler.py@@ -100,10 +100,6 @@ class ClaudeMessageHandler:# Determine session ID for queuingif session_id_to_resume:queue_session_id = session_id_to_resume- # Index this message immediately so replies to IT work even while pending- self.session_store.index_message(- queue_session_id, incoming.message_id, incoming.platform- )else:# New session - use temp IDqueue_session_id = f"pending_{incoming.message_id}"diff --git a/messaging/session.py b/messaging/session.pyindex eec582fa..f7e84b48 100644--- a/messaging/session.py+++ b/messaging/session.py@@ -153,28 +153,6 @@ class SessionStore:key = self._make_key(platform, str(chat_id), str(msg_id))return self._msg_to_session.get(key)- def index_message(- self, session_id: str, msg_id: str, platform: str = "telegram"- ) -> None:- """- Index an additional message ID for a session.-- Args:- session_id: Claude session ID- msg_id: Message ID to index- platform: Messaging platform name- """- with self._lock:- if session_id not in self._sessions:- logger.warning(f"Session {session_id} not found for indexing message")- return-- record = self._sessions[session_id]- key = self._make_key(platform, record.chat_id, str(msg_id))- self._msg_to_session[key] = session_id-- logger.debug(f"Indexed extra message {msg_id} for session {session_id}")-def update_last_message(self, session_id: str, msg_id: str) -> None:"""Update the last message ID for a session.