[jdev] send message to user's contacts

Marco Cirillo maranda at lightwitch.org
Wed Aug 7 15:48:15 UTC 2013


Il 06/08/2013 21:48, Daniel Dormont ha scritto:
> Hi all,
>
> I have a scenario where I need to broadcast a message to the contacts 
> of a particular user. As an additional twist, I'd like to do this 
> while logged in, not as the user in question, but as an admin.
>
> Strictly speaking, it wouldn't be the worst thing to treat this as a 
> presence rather than a message (this is related to location data, 
> which is sort of borderline between message and presence I guess).
>
> Is my best option here PEP (I'm on ejabberd and haven't set up PEP 
> before but I guess I could look into it)? Does that have the kind of 
> admin capability I'd need here?
>
> thanks,
> Dan
>
>
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________

Well if you want to broadcast only to online presence subscribed users 
it's pretty trivial to achieve in Metronome either programmatically via 
the user's service pubsub API or (now) as an admin just by publishing 
the item on the user's service as all server administrators are granted 
service wide owner affiliation over each user pep service.

Regards,

-- 

*Marco Cirillo*
/LW.Org/LW.Org IM Owner & Head Developer/
/Metronome IM Project Mantainer/Developer/
http://lightwitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20130807/e6927143/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4512 bytes
Desc: Firma crittografica S/MIME
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20130807/e6927143/attachment.bin>


More information about the JDev mailing list