Skip to content

Commit

Permalink
Merge pull request #134 from dbluhm/basicmessage-connection-id
Browse files Browse the repository at this point in the history
BasicMessage include connection_id
  • Loading branch information
andrewwhitehead committed Aug 10, 2019
2 parents f553b5e + 69a5f01 commit 5526456
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ async def handle(self, context: RequestContext, responder: BaseResponder):

await responder.send_webhook(
"basicmessages",
{"message_id": context.message._id, "content": body, "state": "received"},
{
"connection_id": context.connection_record.connection_id,
"message_id": context.message._id,
"content": body,
"state": "received"
},
)

reply = None
Expand Down

0 comments on commit 5526456

Please sign in to comment.