diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 42558f4..5aae251 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1188,6 +1188,14 @@ void process_queue_item(xs_dict *q_item) | |||
| 1188 | } | 1188 | } |
| 1189 | } | 1189 | } |
| 1190 | } | 1190 | } |
| 1191 | else | ||
| 1192 | if (strcmp(type, "purge") == 0) { | ||
| 1193 | srv_log(xs_dup("purge start")); | ||
| 1194 | |||
| 1195 | purge_all(); | ||
| 1196 | |||
| 1197 | srv_log(xs_dup("purge end")); | ||
| 1198 | } | ||
| 1191 | } | 1199 | } |
| 1192 | 1200 | ||
| 1193 | 1201 | ||