]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - xmppdaemon.php
mark incoming notices as local or not
[quix0rs-gnu-social.git] / xmppdaemon.php
index 9389e6fc9d8433f5af817f27f7ea4a3d8beb775d..d2e609b4407a31fdd2808523356e8e65bc113cfb 100755 (executable)
@@ -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);