[Standards] XEP-0079 Advanced Message Processing
artur.hefczyc at tigase.org
Sat May 1 16:38:22 UTC 2010
I am almost finishing implementation of this XEP.
Either I am wrong or there is a mistake in following XEP's examples:
7, 8 and 9 which show the server response to the user/client.
Let me take the example 7 as an example ;-)
Example 7. Alert Response
to='bernardo at hamlet.lit/elsinore'
from='francisco at hamlet.lit'
to='bernardo at hamlet.lit/elsinore'>
<rule action='alert' condition='deliver' value='stored'/>
The incorrect part in my opinion is 'to' and 'from' attributes
in the message or/and in the amp element.
The alert is sent back to the original message sender ('bernardo at hamlet.lit/elsinore')
in the above example, therefore this JID should be placed in 'from' attribute in
amp element. Or I am wrong and misunderstood the XEP?
More information about the Standards