Skip to content

Commit

Permalink
Merge pull request musonza#285 from shacky/master
Browse files Browse the repository at this point in the history
  • Loading branch information
musonza authored Aug 26, 2021
2 parents 0adba89 + 49aa87f commit 851e919
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Models/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ public function send(Conversation $conversation, string $body, Participation $pa

if (Chat::broadcasts()) {
broadcast(new MessageWasSent($message))->toOthers();
} else {
event(new MessageWasSent($message));
}

$this->createNotifications($message);
Expand Down

0 comments on commit 851e919

Please sign in to comment.