ejabberd - Comments for "presence_update" https://www.ejabberd.im/node/3867 en Quote: change externally the https://www.ejabberd.im/node/3867#comment-55285 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>change externally the presence of a connected user</p></div> <p>Check the patch at: <noindex><a href="https://support.process-one.net/browse/EJAB-1184" rel="nofollow" >New set_presence command</a></noindex></p> Thu, 11 Feb 2010 19:03:55 +0000 mfoss comment 55285 at https://www.ejabberd.im Re: presence_update https://www.ejabberd.im/node/3867#comment-55284 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Hello,</p> <p>I need to extend mod_webpresence to be able to change externally the presence of a connected user. I have found a method in ejabberd_c2s.erl called: </p> <p>presence_update(From, Packet, StateData) -&gt;</p> <p>The problem is that I don't know how the get the StateDate of a connected user. Is there another way to do this?</p> <p>Thanks in advance,</p></div> <p>You should not get a state of c2s, this is very bad idea.</p> Thu, 11 Feb 2010 18:37:40 +0000 zinid comment 55284 at https://www.ejabberd.im