mark incoming notices as local or not
darcs-hash:20080722141828-84dde-160fe4582c1949af1f6b049b3336cad493e30510.gz
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user