|
@@ -2428,15 +2428,18 @@ void process_user_queue_item(snac *snac, xs_dict *q_item)
|
|
|
|
|
|
|
|
|
xs_list_foreach(rcpts, actor) {
|
|
|
- xs *inbox = get_actor_inbox(actor, 1);
|
|
|
+
|
|
|
+ if (!xs_startswith(actor, srv_baseurl)) {
|
|
|
+ xs *inbox = get_actor_inbox(actor, 1);
|
|
|
|
|
|
- if (inbox != NULL) {
|
|
|
-
|
|
|
- if (xs_set_add(&inboxes, inbox) == 1)
|
|
|
- enqueue_output(snac, msg, inbox, 0, 0);
|
|
|
+ if (inbox != NULL) {
|
|
|
+
|
|
|
+ if (xs_set_add(&inboxes, inbox) == 1)
|
|
|
+ enqueue_output(snac, msg, inbox, 0, 0);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ snac_log(snac, xs_fmt("cannot find inbox for %s", actor));
|
|
|
}
|
|
|
- else
|
|
|
- snac_log(snac, xs_fmt("cannot find inbox for %s", actor));
|
|
|
}
|
|
|
|
|
|
|