Skip to content

Commit 919ec2a

Browse files
committed
Add author_id to response from new:message in conversation channel
1 parent 0592e5e commit 919ec2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/code_corps_web/channels/conversation_channel.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ defmodule CodeCorpsWeb.ConversationChannel do
2626
channel = "conversation:#{conversation_part.conversation_id}"
2727
event = "new:conversation-part"
2828
payload = %{
29+
author_id: conversation_part.author_id,
2930
id: conversation_part.id
3031
}
3132

0 commit comments

Comments
 (0)