openclaw/extensions/msteams
Pengfei Ni 78389b1f02
fix(msteams): resolve Graph chat ID for personal DM media downloads (#62219) (#63063)
* fix(msteams): resolve Graph chat ID for personal DM media downloads (#62219)

Bot Framework personal DM conversation IDs use an opaque `a:...` format
that the Graph `/chats/{chatId}/messages` endpoint rejects as "Invalid
ThreadId". When the direct Bot Framework attachment download fails and
the code falls back to the Graph API path, inbound media (images, files)
is silently dropped.

Resolve the real Graph chat ID via `resolveGraphChatId()` before
constructing Graph message URLs, with conversation-store caching so
subsequent messages skip the API lookup.

* fix(msteams): preserve graphChatId across conversation store upserts

mergeStoredConversationReference only preserved timezone from the
existing entry — graphChatId was silently overwritten on every
activity-triggered upsert, defeating the cache and causing repeated
Graph API lookups on every DM turn.

Mirror the existing timezone guard so graphChatId survives upserts
that don't carry it.
2026-04-09 22:57:02 -05:00
..
src fix(msteams): resolve Graph chat ID for personal DM media downloads (#62219) (#63063) 2026-04-09 22:57:02 -05:00
api.ts refactor: clean bundled channel bootstrap boundaries 2026-04-05 18:18:59 +01:00
CHANGELOG.md chore: bump version to 2026.4.10 2026-04-09 03:56:22 +01:00
channel-config-api.ts refactor: move channel config metadata into plugin-owned manifests 2026-03-27 01:59:30 +00:00
config-api.ts fix(ci): restore contract-safe core imports 2026-04-04 15:09:48 +01:00
contract-api.ts fix(secrets): restore source-mode contract loading 2026-04-06 17:59:53 +01:00
index.ts fix: repair bundled channel secret sidecars 2026-04-08 04:56:58 +01:00
openclaw.plugin.json refactor: resolve channel env vars from plugin manifests 2026-04-06 19:53:27 +01:00
package.json fix(msteams): accept Bot Framework audience in JWT validation (#58249) (#62674) 2026-04-09 22:05:54 -05:00
runtime-api.ts refactor: clean bundled channel bootstrap boundaries 2026-04-05 18:18:59 +01:00
secret-contract-api.ts fix: repair bundled channel secret sidecars 2026-04-08 04:56:58 +01:00
setup-entry.ts fix: repair bundled channel secret sidecars 2026-04-08 04:56:58 +01:00
test-api.ts refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
tsconfig.json chore(plugins): bulk add package boundary tsconfig rollout 2026-04-07 08:48:23 +01:00