What steps will reproduce the problem?
1. Assume that default save mode is 'body'.
<iq type='result' id='pref1' to='juliet@capulet.com/chamber'>
<pref xmlns='urn:xmpp:archive'>
<default otr='concede' save='body'/>
...
</pref>
</iq>
2. Create session settings with 'false' save mode.
<iq type='set' id='pref2'>
<pref xmlns='urn:xmpp:archive'>
<session thread='ffd707' save='false'/>
</pref>
</iq>
3. Send message with thread specified:
<message to='juliet@capulet.com/chamber'>
<thread>ffd707</thread>
<body>Hi!</body>
</message>
What is the expected output?
Message must not be saved.
What do you see instead?
msg_handler searches for the rule for the "<thread>ffd70</thread>" session.
So message will be saved.
What version of the product are you using? On what operating system?
Last from prosody-modules.
Please provide any additional information below.
Original issue reported on code.google.com by alexande...@redsolution.ru on 10 Sep 2012 at 10:10
Original issue reported on code.google.com by
alexande...@redsolution.ru
on 10 Sep 2012 at 10:10Attachments: