snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 723343fc42884e2cd87faf6443967c2853c48a68
parent e45ffa0fa2c23cc1717d1784a438abdc82c0890a
Author: default <nobody@localhost>
Date:   Sun, 11 Jun 2023 10:54:48 +0200

Disable `timeline_request_replies()` temporarily.

Diffstat:
MTODO.md | 2++
Mactivitypub.c | 9+++++++++
2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -2,6 +2,8 @@ ## Open +Fix `timeline_request_replies()` issues (more info there). + Fix premature purge of actor by hardlinking the actor object inside the user `following/` subfolder. Replace weird, vestigial 'touch-by-append-spaces' in actor_get() with a more proper call to `utimes()`. diff --git a/activitypub.c b/activitypub.c @@ -200,6 +200,15 @@ void timeline_request_replies(snac *user, const char *id) /* requests all replies of a message */ /* FIXME: experimental -- needs more testing */ { + /* FIXME: TEMPORARILY DISABLED */ + /* Reason: I've found that many of the posts in the 'replies' Collection + do not have an inReplyTo field (why??? aren't they 'replies'???). + For this reason, these requested objects are not stored as children + of the original post and they are shown as out-of-context, top level posts. + This is disabled until I find an elegant way of providing a parent + for these 'stray' children. */ + return; + xs *msg = NULL; if (!valid_status(object_get(id, &msg)))