summaryrefslogtreecommitdiff
path: root/xmppdaemon.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-22 10:18:28 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-22 10:18:28 -0400
commitb1282b1b9fd9997d15f127810f98117e01b72daa (patch)
tree2ae748186351a5b3a1d34ddf07a164afdb39bea3 /xmppdaemon.php
parente1361cdf489fc87aecb84261c5e2b7b47ce9c829 (diff)
mark incoming notices as local or not
darcs-hash:20080722141828-84dde-160fe4582c1949af1f6b049b3336cad493e30510.gz
Diffstat (limited to 'xmppdaemon.php')
-rwxr-xr-xxmppdaemon.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmppdaemon.php b/xmppdaemon.php
index 9389e6fc9..d2e609b44 100755
--- a/xmppdaemon.php
+++ b/xmppdaemon.php
@@ -224,6 +224,7 @@ class XMPPDaemon {
function add_notice(&$user, &$pl) {
$notice = new Notice();
+ $notice->is_local = 1;
$notice->profile_id = $user->id;
$notice->content = trim(substr($pl['body'], 0, 140));
$notice->rendered = common_render_content($notice->content, $notice);