summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-01-31 20:26:33 +0100
committerdefault <nobody@localhost>2023-01-31 20:26:33 +0100
commitcabbdbe20980ba4e1c106c8982f10860d52b339b (patch)
treea3f8e9afa095db7037bc97c16b234af5c6a3d2ee /activitypub.c
parent94c4790bd7357be754b0f094fba4eb91b12dc132 (diff)
Deleted dead code.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/activitypub.c b/activitypub.c
index 2df5899..9bffb5b 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1173,19 +1173,6 @@ void process_queue(snac *snac)
}
-void post(snac *snac, char *msg)
-/* enqueues a message to all its recipients */
-{
- xs *inboxes = inbox_list(snac, msg);
- char *p, *v;
-
- p = inboxes;
- while (xs_list_iter(&p, &v)) {
- enqueue_output(snac, msg, v, 0);
- }
-}
-
-
/** HTTP handlers */
int activitypub_get_handler(d_char *req, char *q_path,