Skip to content

Commit fb8e05d

Browse files
authored
Merge pull request #1333 from code-corps/add-user-id-to-conversation-channel
Add author_id to response from new:message in conversation channel
2 parents 0592e5e + 919ec2a commit fb8e05d

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)