<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Il 06/08/2013 21:48, Daniel Dormont ha
scritto:<br>
</div>
<blockquote
cite="mid:CAGYOVV0dbhxLjoVL1M=Fa-Cdd+W3kxKwzJqNeLim8QwnNty5FA@mail.gmail.com"
type="cite">Hi all,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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).</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>
thanks,</div>
<div>Dan</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
JDev mailing list
Info: <a class="moz-txt-link-freetext" href="http://mail.jabber.org/mailman/listinfo/jdev">http://mail.jabber.org/mailman/listinfo/jdev</a>
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a>
_______________________________________________
</pre>
</blockquote>
<br>
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.<br>
<br>
Regards,<br>
<br>
<div class="moz-signature">-- <br>
<p>
<b>Marco Cirillo</b><br>
<em>LW.Org/LW.Org IM Owner & Head Developer</em><br>
<em>Metronome IM Project Mantainer/Developer</em><br>
<a class="moz-txt-link-freetext" href="http://lightwitch.org">http://lightwitch.org</a><br>
</p>
</div>
</body>
</html>