diff options
| author | 2023-06-11 10:54:48 +0200 | |
|---|---|---|
| committer | 2023-06-11 10:54:48 +0200 | |
| commit | 723343fc42884e2cd87faf6443967c2853c48a68 (patch) | |
| tree | 68fef1b6fd1d4c897ac0e07ca253633f0ffa80c3 /activitypub.c | |
| parent | Use a different variable name to store the id of 'embedded' children. (diff) | |
| download | snac2-723343fc42884e2cd87faf6443967c2853c48a68.tar.gz snac2-723343fc42884e2cd87faf6443967c2853c48a68.tar.xz snac2-723343fc42884e2cd87faf6443967c2853c48a68.zip | |
Disable `timeline_request_replies()` temporarily.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 92914a2..d7d4d79 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -200,6 +200,15 @@ void timeline_request_replies(snac *user, const char *id) | |||
| 200 | /* requests all replies of a message */ | 200 | /* requests all replies of a message */ |
| 201 | /* FIXME: experimental -- needs more testing */ | 201 | /* FIXME: experimental -- needs more testing */ |
| 202 | { | 202 | { |
| 203 | /* FIXME: TEMPORARILY DISABLED */ | ||
| 204 | /* Reason: I've found that many of the posts in the 'replies' Collection | ||
| 205 | do not have an inReplyTo field (why??? aren't they 'replies'???). | ||
| 206 | For this reason, these requested objects are not stored as children | ||
| 207 | of the original post and they are shown as out-of-context, top level posts. | ||
| 208 | This is disabled until I find an elegant way of providing a parent | ||
| 209 | for these 'stray' children. */ | ||
| 210 | return; | ||
| 211 | |||
| 203 | xs *msg = NULL; | 212 | xs *msg = NULL; |
| 204 | 213 | ||
| 205 | if (!valid_status(object_get(id, &msg))) | 214 | if (!valid_status(object_get(id, &msg))) |