Skip to content

Commit

Permalink
apply suggestion from the review
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperf531 committed May 26, 2022
1 parent f42a8ee commit 8e1cd71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/agent_rtm_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
chat_id = response.payload.get('chat_id')
thread_id = response.payload.get('thread_id')

# Get all messages including the non-response messages (e.g. pushes). Returns a list
# Get `incoming_chat` push from all messages including the non-response messages (i.e. pushes)
incoming_chat_push = agent_rtm.ws.messages[0]

agent_rtm.send_event(chat_id=chat_id,
Expand Down
2 changes: 1 addition & 1 deletion examples/customer_rtm_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
chat_id = response.payload.get('chat_id')
thread_id = response.payload.get('thread_id')

# Get all messages including the non-response messages (e.g. pushes). Returns a list
# Get `incoming_chat` push from all messages including the non-response messages (i.e. pushes)
incoming_chat_push = customer_rtm.ws.messages[0]

customer_rtm.send_event(chat_id=chat_id,
Expand Down

0 comments on commit 8e1cd71

Please sign in to comment.