mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
Minor tweak.
This commit is contained in:
parent
2ec86d363e
commit
d515126797
1 changed files with 4 additions and 4 deletions
8
html.c
8
html.c
|
@ -3335,10 +3335,10 @@ int html_post_handler(const xs_dict *req, const char *q_path,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (strcmp(action, L("Hide")) == 0) { /** **/
|
if (strcmp(action, L("Hide")) == 0) { /** **/
|
||||||
hide(&snac, id);
|
if (is_draft(&snac, id))
|
||||||
|
draft_del(&snac, id);
|
||||||
/* also delete from the draft list */
|
else
|
||||||
draft_del(&snac, id);
|
hide(&snac, id);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (strcmp(action, L("Limit")) == 0) { /** **/
|
if (strcmp(action, L("Limit")) == 0) { /** **/
|
||||||
|
|
Loading…
Reference in a new issue