ejabberd - Comments for "Database Scalability" https://www.ejabberd.im/node/3236 en You can provide additional information in a Status element https://www.ejabberd.im/node/3236#comment-53662 <p>ejabberd implements XMPP. Specifically, XMPP-IM describes four values for the Show element: away, chat, dnd, xa.</p> <p>Did you notice that it is possible to provide additional arbitrary text in a Status element?</p> <p>Some examples:<br /> &lt;pre&gt;&lt;presence&gt;<br /> &lt;show&gt;dnd&lt;/show&gt;<br /> &lt;status&gt;Math study&lt;/status&gt;<br /> &lt;/presence&gt;</p> <p>&lt;presence&gt;<br /> &lt;show&gt;xa&lt;/show&gt;<br /> &lt;status&gt;having luuuunch!&lt;/status&gt;<br /> &lt;/presence&gt;</p> <p>&lt;presence&gt;<br /> &lt;show&gt;xa&lt;/show&gt;<br /> &lt;status&gt;Sleeping ...&lt;/status&gt;<br /> &lt;/presence&gt;&lt;/pre&gt;</p> <p>You can check the protocol (in this revised text), sections 4.7.3 and 4.7.4: <noindex><a href="http://xmpp.org/internet-drafts/draft-saintandre-rfc3921bis-06.html#presence-show" rel="nofollow" >Show Element.</a></noindex></p> Thu, 16 Oct 2008 18:50:56 +0000 mfoss comment 53662 at https://www.ejabberd.im