diff options
| author | 2025-07-30 18:07:12 +0200 | |
|---|---|---|
| committer | 2025-07-30 18:07:12 +0200 | |
| commit | 375b7871540b74f219ab655b188d6d0f5b10bcef (patch) | |
| tree | e062c8ddf3b2deb0f6e04e90b58998f605dab4e9 | |
| parent | Also add children to msg_delete(). (diff) | |
| download | snac2-375b7871540b74f219ab655b188d6d0f5b10bcef.tar.gz snac2-375b7871540b74f219ab655b188d6d0f5b10bcef.tar.xz snac2-375b7871540b74f219ab655b188d6d0f5b10bcef.zip | |
New server knob 'propagate_local_purge'.
| -rw-r--r-- | data.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -3900,7 +3900,8 @@ void purge_user(snac *snac) | |||
| 3900 | pub_days = user_days; | 3900 | pub_days = user_days; |
| 3901 | } | 3901 | } |
| 3902 | 3902 | ||
| 3903 | delete_purged_posts(snac, pub_days); | 3903 | if (xs_is_true(xs_dict_get(srv_config, "propagate_local_purge"))) |
| 3904 | delete_purged_posts(snac, pub_days); | ||
| 3904 | 3905 | ||
| 3905 | _purge_user_subdir(snac, "hidden", priv_days); | 3906 | _purge_user_subdir(snac, "hidden", priv_days); |
| 3906 | _purge_user_subdir(snac, "private", priv_days); | 3907 | _purge_user_subdir(snac, "private", priv_days); |