Skip to content

Commit

Permalink
add attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
robsondrs committed Apr 13, 2021
1 parent bfd068f commit 709a8e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Chat.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public function renderItem($model, $key, $index)
'{{key}}' => Inflector::slug("{$receive->title}-{$key}"),
'{{sign}}' => $receive->right? 'right': 'left',
'{{message}}' => $receive->message,
'{{title}}' => $receive->title
'{{title}}' => $receive->title,
'{{attachment}}' => '<strong>Anexos:</strong> <br/>'.$receive->attachment,
]);
}
}

0 comments on commit 709a8e5

Please sign in to comment.