Fix private note shown to user in widget (#308)

fixes #306
This commit is contained in:
Pranav Raj S
2019-11-27 10:12:57 +05:30
committed by Sojan Jose
parent 913172c688
commit ded8f33fc8
4 changed files with 13 additions and 12 deletions

View File

@@ -5,5 +5,5 @@ json.array! @messages do |message|
json.created_at message.created_at.to_i
json.conversation_id message. conversation_id
json.attachment message.attachment.push_event_data if message.attachment
json.sender_name message.user.name if message.user
json.sender message.user.push_event_data if message.user
end