summaryrefslogtreecommitdiff
path: root/actions/twitapidirect_messages.php
diff options
context:
space:
mode:
authorzach <zach@controlyourself.ca>2008-11-06 17:57:21 -0500
committerzach <zach@controlyourself.ca>2008-11-06 17:57:21 -0500
commitaac0605bd1baf1462a20646c01edc19557a33b93 (patch)
treede36d73fc479264058f1b186c00703018910fa56 /actions/twitapidirect_messages.php
parentab6c83dab8a1c2d1dcbf8d41556541f3e8999760 (diff)
Twitter-compatible API - don't strip XML-illegal chars from JSON output
darcs-hash:20081106225721-462f3-b80ba75f87a4b36b803868653c956c393a236626.gz
Diffstat (limited to 'actions/twitapidirect_messages.php')
-rw-r--r--actions/twitapidirect_messages.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/twitapidirect_messages.php b/actions/twitapidirect_messages.php
index d6eaf844e..a0a09a410 100644
--- a/actions/twitapidirect_messages.php
+++ b/actions/twitapidirect_messages.php
@@ -133,8 +133,8 @@ class Twitapidirect_messagesAction extends TwitterapiAction {
$code = 403, $apidata['content-type']);
return;
}
-
- $message = Message::saveNew($user->id, $other->id,
+
+ $message = Message::saveNew($user->id, $other->id,
html_entity_decode($content, ENT_NOQUOTES, 'UTF-8'), $source);
if (is_string($message)) {