summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activitypub.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/activitypub.c b/activitypub.c
index 2bb94fe..36fc096 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1555,11 +1555,6 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
timeline_request(snac, &object, &wrk, 0);
- /* Note: implementations like lemmy send announces about objects
- that are not of the 'Note' type; these objects are not stored,
- so the following object_get() will fail even if the object
- was correctly requested */
-
if (valid_status(object_get(object, &a_msg))) {
char *who = xs_dict_get(a_msg, "attributedTo");