- $condition = ['uid' => $uid, 'network' => Protocol::ACTIVITYPUB, 'archive' => false, 'pending' => false];
+ // Will be activated in a later step
+ // $networks = [Protocol::ACTIVITYPUB, Protocol::DFRN, Protocol::DIASPORA, Protocol::OSTATUS];
+
+ // For now only send to these contacts:
+ $networks = [Protocol::ACTIVITYPUB, Protocol::OSTATUS];
+
+ $condition = ['uid' => $uid, 'network' => $networks, 'archive' => false, 'pending' => false];