Fix: message deletion were not properly anonymized when using "Anonymize moderation actions" option.
This commit is contained in:
		| @ -25,6 +25,7 @@ Users must save the form to be sure to apply the correct value. | ||||
| * Fix tasks: checkbox state does not change when clicked. | ||||
| * Fix: bot timer can't be negative or null. | ||||
| * Fix #626: Bot timer was buggy, using seconds as delay instead of minutes. | ||||
| * Fix: message deletion were not properly anonymized when using "Anonymize moderation actions" option. | ||||
|  | ||||
| ## 12.0.4 | ||||
|  | ||||
|  | ||||
| @ -53,7 +53,7 @@ local function remove_moderate_actor(event) | ||||
|     -- urn:xmpp:message-moderate:1 do not require the "by" attribute | ||||
|     -- So, for now, settings the room jid, as we only implement urn:xmpp:message-moderate:0. | ||||
|     moderated.attr.by = room.jid; | ||||
|     moderated:remove_children("occupant-id", "urn:xmpp:occupant-id:0"); | ||||
|     announcement:remove_children("occupant-id", "urn:xmpp:occupant-id:0"); | ||||
|   end | ||||
|  | ||||
|   if tombstone then | ||||
|  | ||||
		Reference in New Issue
	
	Block a user