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
..
2026-04-09 03:56:22 +01:00
2026-04-09 23:47:59 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 09:22:11 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 22:54:33 -05:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-07 13:44:42 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 23:47:59 +01:00
2026-04-09 08:04:53 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 10:18:07 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 17:09:17 +08:00
2026-04-09 03:56:22 +01:00
2026-04-09 23:47:59 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 17:23:22 +05:30
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 08:10:42 -04:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 23:47:59 +01:00
2026-04-09 23:03:53 +02:00
2026-04-09 23:47:59 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 22:57:02 -05:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 06:13:39 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 23:47:59 +01:00
2026-04-09 03:56:22 +01:00
2026-04-07 22:24:32 +01:00
2026-04-09 03:56:22 +01:00
2026-04-10 00:09:48 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 23:47:59 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-03 16:39:47 +01:00
2026-04-09 23:47:59 +01:00
2026-04-09 11:27:37 -05:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-07 20:58:01 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 14:26:41 -07:00
2026-04-08 00:09:41 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 23:41:25 -03:00
2026-04-09 23:47:59 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-09 03:56:22 +01:00
2026-04-04 14:13:46 +09:00
2026-03-28 20:22:03 -04:00
2026-04-06 19:15:31 +01:00
2026-04-06 15:38:04 +01:00
2026-04-09 23:59:00 +01:00
2026-04-06 19:15:31 +01:00