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: [email protected] _______________________________________________
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
smime.p7s
Description: Firma crittografica S/MIME
_______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
