#1925 mod_muc_moderation: Wrong occupant-id added to moderation message

Reporter lovetox
Owner Nobody
Created
Updated
Stars ★★ (2)
Tags
  • Status-New
  • Type-Defect
  • Priority-Medium
  1. lovetox on

    What steps will reproduce the problem? 1. Send moderation message What is the expected output? The message itself comes from the MUC, and should therefore have no occupant-id added. What do you see instead? The message has a the occupant-id of the user which message is moderated added. I made newlines around the faulty element in the XML. <message from="somosiyi@conference.hydrant.one" id="NMWQIzlo-wClondTBCerYDmh" to="lovetox2@movim.eu/gajim.YX1EMF28" type="groupchat" xmlns="jabber:client"> <apply-to id="068061db-3a49-7c60-80cc-da4b8c78ccfd" xmlns="urn:xmpp:fasten:0"> <moderated by="somosiyi@conference.hydrant.one/lovetox" xmlns="urn:xmpp:message-moderate:0"> <occupant-id id="OmgNRi85znOYMCyh2SQ5eHKojZbF8nUeHS/cZ7JT1kg=" xmlns="urn:xmpp:occupant-id:0"/> <retract xmlns="urn:xmpp:message-retract:0"/> <reason>Spam</reason> </moderated> </apply-to> <occupant-id id="WWJG5N9NRJMfHUCPqnps3P0L5j3mf2DykcsOTsbsHkg=" xmlns="urn:xmpp:occupant-id:0"/> <retract id="068061db-3a49-7c60-80cc-da4b8c78ccfd" xmlns="urn:xmpp:message-retract:1"> <moderated xmlns="urn:xmpp:message-moderate:1"> <occupant-id id="OmgNRi85znOYMCyh2SQ5eHKojZbF8nUeHS/cZ7JT1kg=" xmlns="urn:xmpp:occupant-id:0"/> </moderated> <reason>Spam</reason> </retract> <stanza-id by="somosiyi@conference.hydrant.one" id="068061e0-0f59-74a8-a48f-b72789cf5402" xmlns="urn:xmpp:sid:0"/> </message> What version of the product are you using? On what operating system? Prosody 0.13

New comment

Not published. Used for spam prevention and optional update notifications.