Skip to content

Commit

Permalink
XEP-0501: Add pubsub#item_expire in the node configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
edhelas authored and iNPUTmice committed Dec 23, 2024
1 parent 5537b36 commit 46136c8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions xep-0501.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
<jid>[email protected]</jid>
<uri>https://edhelas.movim.eu</uri>
</author>
<revision>
<version>0.2.0</version>
<date>2024-12-20</date>
<initials>tj</initials>
<remark>
<p>Add pubsub#item_expire in the node configuration</p>
</remark>
</revision>
<revision>
<version>0.1.0</version>
<date>2024-12-19</date>
Expand Down Expand Up @@ -100,14 +108,15 @@
<ol>
<li>The "pubsub#type" MUST be set to "urn:xmpp:pubsub-social-feed:stories:0"</li>
<li>The "pubsub#access_model" SHOULD be set to "presence".</li>
<li>The "pubsub#item_expire" SHOULD be set, usually 24 hours (86400).</li>
</ol>
</section3>
</section2>
</section1>

<section1 topic='Business Rules' anchor='bizrules'>
<p>Subscribers clients SHOULD hide the items after a specific amount of time, usually 24 hours.</p>
<p>Publishers clients SHOULD retract the items after a specific amount of time, usually 24 hours. </p>
<p>If the "pubsub#item_expire" value is set subscribers clients MUST hide or destroy the received items once they expire.</p>
<p>If the "pubsub#item_expire" value is not set publishers clients SHOULD retract the items after a specific amount of time, usually 24 hours. </p>
</section1>

<section1 topic='Security Considerations' anchor='security'>
Expand Down

0 comments on commit 46136c8

Please sign in to comment.