summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_facebook.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/update_facebook.php b/scripts/update_facebook.php
index 2a1251f37..8c91df384 100755
--- a/scripts/update_facebook.php
+++ b/scripts/update_facebook.php
@@ -57,7 +57,10 @@ while($notice->fetch()) {
$flink = Foreign_link::getByUserID($notice->profile_id, FACEBOOK_SERVICE);
$user = $flink->getUser();
$fbuid = $flink->foreign_id;
- $content = $notice->content;
+
+ $prefix = $facebook->api_client->data_getUserPreference(1, $fbuid);
+
+ $content = "$prefix $notice->content";
if (($flink->noticesync & FOREIGN_NOTICE_SEND) == FOREIGN_NOTICE_SEND) {