feat: Write and display reason for redacting a message
This commit is contained in:
parent
b27af74918
commit
5e3c62110b
4 changed files with 60 additions and 36 deletions
|
|
@ -1061,6 +1061,8 @@
|
|||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"redactMessageDescription": "The message will be redacted for all participants in this conversation. This cannot be undone.",
|
||||
"optionalRedactReason": "(Optional) Reason for redacting this message...",
|
||||
"invitedUser": "📩 {username} invited {targetName}",
|
||||
"@invitedUser": {
|
||||
"type": "text",
|
||||
|
|
@ -1568,6 +1570,21 @@
|
|||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"redactedBy": "Redacted by {username}",
|
||||
"@redactedBy": {
|
||||
"type": "text",
|
||||
"placeholders": {
|
||||
"username": {}
|
||||
}
|
||||
},
|
||||
"redactedByBecause": "Redacted by {username} because: \"{reason}\"",
|
||||
"@redactedByBecause": {
|
||||
"type": "text",
|
||||
"placeholders": {
|
||||
"username": {},
|
||||
"reason": {}
|
||||
}
|
||||
},
|
||||
"redactedAnEvent": "{username} redacted an event",
|
||||
"@redactedAnEvent": {
|
||||
"type": "text",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue