mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-26 00:58:11 -07:00
Implement draft/message-redaction (#2065)
* Makefile: Add dependencies between targets * Implement draft/message-redaction for channels Permission to use REDACT mirrors permission for 'HistServ DELETE' * Error when the given targetmsg does not exist * gofmt * Add CanDelete enum type * gofmt * Add support for PMs * Fix documentation of allow-individual-delete. * Remove 'TODO: add configurable fallback' slingamn says it's probably not desirable, and I'm on the fence. Out of laziness, let's omit it for now, as it's not a regression compared to '/msg HistServ DELETE'. * Revert "Makefile: Add dependencies between targets" This reverts commit 2182b1da69ceaafad30859e45be0645d6c915b2c. --------- Co-authored-by: Val Lorentz <progval+git+ergo@progval.net>
This commit is contained in:
+2
-1
@@ -982,7 +982,8 @@ history:
|
||||
|
||||
# options to control how messages are stored and deleted:
|
||||
retention:
|
||||
# allow users to delete their own messages from history?
|
||||
# allow users to delete their own messages from history,
|
||||
# and channel operators to delete messages in their channel?
|
||||
allow-individual-delete: false
|
||||
|
||||
# if persistent history is enabled, create additional index tables,
|
||||
|
||||
Reference in New Issue
Block a user