Q14: every human sender shows their own kind and role, board included
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
31bf0a1497
commit
592ce69219
4 files changed
+44
-12
No files matched your search
@@ -10,7 +10,7 @@ const MESSAGE_SELECT = `
|
||||
coalesce(a.role, e.role) as sender_role
|
||||
from chat_messages m
|
||||
left join agents a on a.id = m.sender_id and m.sender_type = 'agent'
|
||||
left join employees e on e.id = m.sender_id and m.sender_type = 'employee'`;
|
||||
left join employees e on e.id = m.sender_id and m.sender_type in ('employee', 'board')`;
|
||||
|
||||
interface ThreadMessageRow {
|
||||
id: string;
|
||||
|
||||
Reference in new issue
Block a user