[Standards] Bookmarks and autojoin issues

Maxime Buquet pep at bouah.net
Sun May 24 15:13:38 UTC 2020

On 2020/05/24, Philipp Hörist wrote:
> Hi,
> let me try with XEP-0402
> <iq from='juliet at capulet.lit/balcony' type='set' id='pip1'>
>   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>     <publish node='urn:xmpp:bookmarks:1'>
>       <item id='theplay at conference.shakespeare.lit'>
>         <conference xmlns='urn:xmpp:bookmarks:1'
>                     name='The Play's the Thing'
>                     autojoin='true'>
>           <nick>JC</nick>
>           <extension>
>             <profile xmlns='new-profile-xep-ns'>
>                <item name='mobile' />
>             </profile>
>           </extension>
>         </conference>
>       </item>
>     </publish>
>   </pubsub>
> </iq>
> - Clients offer a option to set one or more profiles for the device
> - Clients can ask the user on joining a bookmark which profiles should be
> added (one or multiple)
> - Default is no profile
> - If a Client has no profile set, it honors the autojoin attr
> - If a Client has a profile set, he autojoins all bookmarks that have the
> corresponding profile, effectively ignoring the autojoin attr
> - If a client leaves a muc he removes the profile from the bookmark

Might seem obvious for some, but I would add regarding <extensions/> in
- If there is an extension that you didn't add yourself, don't
  automatically remove the entry (that is, without explicit user input).

> Still sounds complex to me, not easy to make that user friendly in my
> opinion

Maxime “pep” Buquet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/standards/attachments/20200524/2d770163/attachment.sig>

More information about the Standards mailing list