On 2020/05/24, Philipp Hörist wrote:
> Hi,
> 
> let me try with XEP-0402
> 
> <iq from='[email protected]/balcony' type='set' id='pip1'>
>   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>     <publish node='urn:xmpp:bookmarks:1'>
>       <item id='[email protected]'>
>         <conference xmlns='urn:xmpp:bookmarks:1'
>                     name='The Play&apos;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
general:
- 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: [email protected]
_______________________________________________

Reply via email to