summaryrefslogtreecommitdiff
path: root/plugins/OStatus
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-08-10 13:36:38 -0700
committerBrion Vibber <brion@status.net>2010-08-10 13:49:11 -0700
commit08fc6053ec55e911b842fd05dafc5e0c99c4e992 (patch)
tree7db0277c84f0f6a7e75b5fb63d8b21dad95c6488 /plugins/OStatus
parent4fdfc6b1ce7e5ffa50b24bdddca55cc73d54a09f (diff)
Fix for regression with OStatus mention processing (duplicated new and old style lead to trying to save a reply entry twice).
Diffstat (limited to 'plugins/OStatus')
-rw-r--r--plugins/OStatus/classes/Ostatus_profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php
index 77a5e22cc..8f8eb773f 100644
--- a/plugins/OStatus/classes/Ostatus_profile.php
+++ b/plugins/OStatus/classes/Ostatus_profile.php
@@ -681,7 +681,7 @@ class Ostatus_profile extends Memcached_DataObject
common_log(LOG_DEBUG, "Original reply recipients: " . implode(', ', $attention_uris));
$groups = array();
$replies = array();
- foreach ($attention_uris as $recipient) {
+ foreach (array_unique($attention_uris) as $recipient) {
// Is the recipient a local user?
$user = User::staticGet('uri', $recipient);
if ($user) {