Rename bot references from ocw to OpenWorker

Correlation token now emits [ow:id]; legacy [ocw:id] replies still parse.
Invite hints and docstrings say @OpenWorker.
This commit is contained in:
Rohit C Prasad
2026-07-23 07:43:24 -07:00
committed by Rohit P
parent 1032e3a664
commit 71b0df8ea2
13 changed files with 30 additions and 21 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ class SlackRelayAdapter(BasePlatformAdapter):
return
channel = mapped.source.chat_id # bare channel id before qualification
# Resolve friendly names with THIS workspace's bot token (cached per team),
# mirroring the Socket-Mode adapter — so cards read "@ocw"/"Rohit"/"#ocw-test"
# mirroring the Socket-Mode adapter — so cards read "@OpenWorker"/"Rohit"/"#ocw-test"
# not raw U…/C… ids. Best-effort: ids fall through on failure.
if not mapped.source.user_name:
mapped.source.user_name = await self._display_name(