Skip to content

Your lightweight open-source personal agent.

Merge origin/main into fix/msteams-prune-stale-refs

Xubin Ren3d75aedcacfa
diff --cc nanobot/channels/msteams.py
index 685774bf5,f1c0ac1bc..eb7b8c819
--- a/nanobot/channels/msteams.py
+++ b/nanobot/channels/msteams.py
@@@ -260,10 -233,9 +259,10 @@@ class MSTeamsChannel(BaseChannel)
payload["replyToId"] = ref.activity_id
try:
- resp = await self._http.post(url, headers=headers, json=payload)
+ resp = await self._http.post(base_url, headers=headers, json=payload)
resp.raise_for_status()
logger.info("MSTeams message sent to {}", ref.conversation_id)
+ self._touch_conversation_ref(str(msg.chat_id), persist=True)
except Exception as e:
logger.error("MSTeams send failed: {}", e)
raise