[Standards] MIX-PAM: private PEP node for joined channels
lnj at kaidan.im
Sat Nov 16 18:17:08 UTC 2019
Am Sat, 16 Nov 2019 18:45:12 +0100
schrieb Linus Jahn <lnj at kaidan.im>:
> I'm currently working on XEP-0405 / MIX-PAM. I'm replacing the roster
> mechanism by a private PEP node. The basics are working now, but I'm
> not sure what's the best way to make presence sharing with the channel
> The roster mechanism allowed the client to disable presence sharing
> with the channel by setting subscription=none. How do you think it's
> best to do this with the PEP node?
> The PEP node could be made editable to the user (similar to the roster
> entry before). Then a custom rule for the server to only allow the
> 'share-presence' attribute to be modified would be needed.
> The other option I can think of is adding an IQ command to enable or
> disable presence sharing. Executing it would then trigger PEP
> notifications to be sent to the user.
> I think in both options this should already be configurable in the
> <client-join/> request, so a client does not need to send two requests
> when joining a channel with disabled presence sharing.
> Best regards,
A work-in-progress version can be found here:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
More information about the Standards