Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XEP-0501: Add pubsub#item_expire in the node configuration #1408

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading