Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #10 from sitedyno/tweet-with-linebreaks
Browse files Browse the repository at this point in the history
Remove newlines from multi-line tweets.
  • Loading branch information
svpernova09 committed Mar 21, 2016
2 parents aa4c29a + 59319cf commit bd96834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function handleSuccess(Response $response, Event $event, Queue $queue)
{
$json = $response->json(array('object' => true));
$this->logger->debug('Received response', array('json' => $json));
$formatted = $this->formatter->format($json);
$formatted = $this->escapeParam($this->formatter->format($json));
$queue->ircPrivmsg($event->getSource(), $formatted);
}

Expand Down

0 comments on commit bd96834

Please sign in to comment.