You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
External messages show real group and sender names (Lark, Slack, Discord) #1151
External groups show up as their IDs everywhere: in conversation rows, in a Channel's message origin, and in what a Bot reads. A Lark sender is also shown by open_id instead of their name.
Group names were never implemented.conversationName() in packages/core/src/messaging/conversations.ts returns conversation.id for groups, and no provider sends a group name.
Lark sender names time out. dsh-im already looks the sender up with im.v1.message.get(with_sender_name), but it gives up after 1.5 s. From the cloud host, one call takes about 0.8–2.5 s, so every lookup on the QA Host fell back to the open_id. A direct call with the same app credentials returns the real name.
Slice
dsh-im:
Each provider adds an optional conversation.name to inbound evidence:
Lark: im.v1.chat.get, which needs im:chat:readonly.
Slack: conversations.info, which needs channels:read.
Discord: GET /channels/{id}.
Group and sender names are cached per account and ID, with a TTL.
The Lark sender-name lookup gets a longer timeout and also uses the cache.
If a lookup fails, the message still goes through without the name.
BotHarness:
MessagingInboundEvent.conversation.name is optional.
Conversation entries, held entries and ingest rows store the real name and update it when it changes.
Channel message origins and Bot context show Name (id).
Repin the dev provider.
Real-IM E2E
On Lark, Slack and Discord, a group message shows the real group and sender names:
in the app's conversation list
in a connected Channel
in a Bot's reply when it is asked where the message came from
Activity
chore: repin dev IM provider to rebuilt dsh-im bundle (#1151)
fix(messaging): grant-routed group sources show the event's group name (
docs: real-name screenshots for #1151
docs: Lark @mention origin screenshot for #1151
Real group names for Lark, Slack and Discord sources (#1151) (#1160)