diff options
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 11 |
1 files changed, 11 insertions, 0 deletions
| @@ -3605,6 +3605,17 @@ void enqueue_collect_outbox(snac *user, const char *actor_id) | |||
| 3605 | } | 3605 | } |
| 3606 | 3606 | ||
| 3607 | 3607 | ||
| 3608 | void enqueue_fsck(void) | ||
| 3609 | /* enqueues an fsck */ | ||
| 3610 | { | ||
| 3611 | xs *qmsg = _new_qmsg("fsck", "", 0); | ||
| 3612 | const char *ntid = xs_dict_get(qmsg, "ntid"); | ||
| 3613 | xs *fn = xs_fmt("%s/queue/%s.json", srv_basedir, ntid); | ||
| 3614 | |||
| 3615 | qmsg = _enqueue_put(fn, qmsg); | ||
| 3616 | } | ||
| 3617 | |||
| 3618 | |||
| 3608 | int was_question_voted(snac *user, const char *id) | 3619 | int was_question_voted(snac *user, const char *id) |
| 3609 | /* returns true if the user voted in this poll */ | 3620 | /* returns true if the user voted in this poll */ |
| 3610 | { | 3621 | { |