diff options
| -rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -3336,6 +3336,9 @@ int html_post_handler(const xs_dict *req, const char *q_path, | |||
| 3336 | else | 3336 | else |
| 3337 | if (strcmp(action, L("Hide")) == 0) { /** **/ | 3337 | if (strcmp(action, L("Hide")) == 0) { /** **/ |
| 3338 | hide(&snac, id); | 3338 | hide(&snac, id); |
| 3339 | |||
| 3340 | /* also delete from the draft list */ | ||
| 3341 | draft_del(&snac, id); | ||
| 3339 | } | 3342 | } |
| 3340 | else | 3343 | else |
| 3341 | if (strcmp(action, L("Limit")) == 0) { /** **/ | 3344 | if (strcmp(action, L("Limit")) == 0) { /** **/ |