]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - xmppdaemon.php
don't inline p's in the people list
[quix0rs-gnu-social.git] / xmppdaemon.php
index 7086044716ae72bfd4a889ee464549e7c0257ba6..dd262282885294d18a9132c1e2ecc324f76c989c 100755 (executable)
@@ -192,6 +192,7 @@ class XMPPDaemon {
                $notice = new Notice();
                $notice->profile_id = $user->id;
                $notice->content = trim(substr($pl['body'], 0, 140));
+               $notice->rendered = common_render_content($notice->content, $notice);
                $notice->created = DB_DataObject_Cast::dateTime();
                $notice->query('BEGIN');
                $id = $notice->insert();