]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact/Group.php
Merge remote-tracking branch 'upstream/develop' into item-view
[friendica.git] / src / Model / Contact / Group.php
index bb05d3cc3f0ca9a68e9697e6e9d6aa122f27754e..5bf1dce507017ba9998fc863a974185a537c77ab 100644 (file)
@@ -73,7 +73,7 @@ class Group
         * @return array
         * @throws \Exception
         */
-       public static function getUngrouped(int $uid)
+       public static function listUngrouped(int $uid)
        {
                return q("SELECT *
                           FROM `contact`
@@ -82,6 +82,7 @@ class Group
                           AND NOT `deleted`
                           AND NOT `blocked`
                           AND NOT `pending`
+                          AND NOT `failed`
                           AND `id` NOT IN (
                                SELECT DISTINCT(`contact-id`)
                                FROM `group_member`