]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
repeats don't get posted to groups
authorEvan Prodromou <evan@status.net>
Wed, 13 Jan 2010 08:47:12 +0000 (00:47 -0800)
committerEvan Prodromou <evan@status.net>
Wed, 13 Jan 2010 08:47:12 +0000 (00:47 -0800)
classes/Notice.php

index d651ef80edb49cb73a7aefab86f35117ee121553..f48e77c1d221c2386eb6d3062e0ccee703af33f0 100644 (file)
@@ -919,6 +919,12 @@ class Notice extends Memcached_DataObject
 
     function saveGroups()
     {
+        // Don't save groups for repeats
+
+        if (!empty($this->repeat_of)) {
+            return array();
+        }
+
         $groups = array();
 
         /* extract all !group */