summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorzach <zach@controlyourself.ca>2008-11-16 21:46:24 -0500
committerzach <zach@controlyourself.ca>2008-11-16 21:46:24 -0500
commit41b8c91c6b4f37c61983d0f8f94877bfcd0eb6d2 (patch)
tree5b11661415b4243a52e3b42e1adec86970a9454f /lib
parentfed15bd6b7bcbca6d4707dc4ccedd8784fcadfb2 (diff)
trac685 Twitter bridge - Sync Twitter friends
darcs-hash:20081117024624-462f3-91f148111c2c43ddd302fc63cfa8c8ef14e1f38e.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 7dfbc1578..bf96be264 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1266,7 +1266,7 @@ function common_save_replies($notice) {
function common_broadcast_notice($notice, $remote=false) {
// Check to see if notice should go to Twitter
- $flink = Foreign_link::getForeignLink($notice->profile_id, 1); // 1 == Twitter
+ $flink = Foreign_link::getByUserID($notice->profile_id, 1); // 1 == Twitter
if (($flink->noticesync & FOREIGN_NOTICE_SEND) == FOREIGN_NOTICE_SEND) {
// If it's not a Twitter-style reply, or if the user WANTS to send replies...