Skip to content

Commit

Permalink
message add link fill
Browse files Browse the repository at this point in the history
add message link
  • Loading branch information
jacobcyl authored Aug 8, 2016
1 parent ac70c04 commit 354a80d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Messenger.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ private function createMessage(array $message){
Message::create([
'thread_id' => $thread->id,
'user_id' => $message['senderId'],
'body' => $message['body']
'body' => $message['body'],
'link' => $message['link']
]);

// participants
Expand Down Expand Up @@ -228,4 +229,4 @@ public function __call($method, $args)

return $this;
}
}
}

0 comments on commit 354a80d

Please sign in to comment.