mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-11 15:41:08 +01:00
Advanced Message Processing implementation (XEP-0079)
Fixes SMACK-544
This commit is contained in:
parent
06f88674ee
commit
61bf5cd4ce
10 changed files with 878 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
<amp xmlns="http://jabber.org/protocol/amp"><rule action="alert" condition="deliver" value="direct"/><rule action="drop" condition="deliver" value="forward"/><rule action="error" condition="deliver" value="gateway"/><rule action="notify" condition="deliver" value="none"/><rule action="notify" condition="deliver" value="stored"/><rule action="notify" condition="expire-at" value="2004-09-10T08:33:14Z"/><rule action="notify" condition="match-resource" value="any"/><rule action="notify" condition="match-resource" value="exact"/><rule action="notify" condition="match-resource" value="other"/></amp>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<amp xmlns='http://jabber.org/protocol/amp'
|
||||
status='alert'
|
||||
from='bernardo@hamlet.lit/elsinore'
|
||||
to='francisco@hamlet.lit'>
|
||||
<rule action='test' condition='deliver' value='direct'/>
|
||||
<rule action='drop' condition='deliver' value='forwarded'/>
|
||||
<rule action='error' condition='delivered' value='gateway'/>
|
||||
<rule action='notify' value='none'/>
|
||||
<rule action='notify' condition='deliver'/>
|
||||
<rule condition='expire-at' value='2004-09-10T08:33:14Z'/>
|
||||
<rule condition='expire-at' />
|
||||
<rule action='notify' condition='match-resource' value='anys'/>
|
||||
</amp>
|
||||
Loading…
Add table
Add a link
Reference in a new issue