ejabberd - Comments for "User Avatars" https://www.ejabberd.im/node/3349 en XEP84 is a client protocol https://www.ejabberd.im/node/3349#comment-53932 <div class="quote-msg"> <div class="quote-author"><em>dfisher</em> wrote:</div> <p>Is it possible to just disable XEP84 inside of PEP? </p></div> <p>You already asked that, and I already answered.</p> <p>Do you want more explicit answer?</p> <ul> <li>ejabberd implements Pubsub and PEP. </li><li>ejabberd does not implement XEP84. </li><li>In ejabberd you can enable or disable support for PubSub and PEP. </li><li>In ejabberd you cannot disable support for XEP84, because ejabberd does not implement XEP84. </li></ul> <p>Search the source code of ejabberd: you will not find anywhere the word "avatar".</p> <div class="quote-msg"> <div class="quote-author"><em>dfisher</em> wrote:</div> <p>What other functionality would I lose by disabling PEP? </p></div> <p>You cannot ask this question to the server. The server only cares about PEP management, not about what content your clients will, or may or may not store there.</p> <div class="quote-msg"> <div class="quote-author"><em>dfisher</em> wrote:</div> <p>I just want to turn off avatar support. </p></div> <p>PEP is implemented both in client and server, so you can disable in either of them. XEP84 is exclusively implemented in the client, so you can only disable XEP84 in your clients.</p> <div class="quote-msg"> <div class="quote-author"><em>dfisher</em> wrote:</div> <p>Seems like I would lose all presence subscriptions and I just want to turn off avatar support. </p></div> <p>Instead of 'seems like ...', you could try some of the solutions that I provided.</p> <p>That I my last collaboration in that thread.</p> Wed, 14 Jan 2009 12:28:29 +0000 mfoss comment 53932 at https://www.ejabberd.im Can XEP84 be disabled in PEP? https://www.ejabberd.im/node/3349#comment-53917 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>You can disable PEP support by simply disabling the "pep" plugin in mod_pubsub options in ejabberd.cfg. Or disable mod_pubsub completely. </p></div> <p>Is it possible to just disable XEP84 inside of PEP?<br /> What other functionality would I lose by disabling PEP?<br /> Seems like I would lose all presence subscriptions and I just want to turn off avatar support.</p> Sun, 11 Jan 2009 15:46:28 +0000 dfisher comment 53917 at https://www.ejabberd.im XEP84 uses mod_pubsub's PEP, stored in Mnesia https://www.ejabberd.im/node/3349#comment-53912 <div class="quote-msg"> <div class="quote-author"><em>dfisher</em> wrote:</div> <p>I've noticed that clients like Adium and iChat are still able to send avatar photos and I can see them on clients like Pidgin and Psi.<br /> I'm assuming this is occurring through the pubsub module somehow,<br /> Is it possible to configure mod_pubsub without avatar support? (Is this xep-0084?) </p></div> <p>I could find in Adium website any mention about the protocols it supports. If you disabled mod_vcard and it still shows avatar, then it probably uses XEP-0084, which uses PEP support, implemented in ejabberd's mod_pubsub PEP plugin.</p> <p>PEP: <noindex><a href="http://xmpp.org/extensions/xep-0163.html" rel="nofollow" >XEP-0163: Personal Eventing Protocol</a></noindex></p> <div class="quote-msg"> <div class="quote-author"><em>dfisher</em> wrote:</div> <p>I can't find the avatar data anywhere in the server database (mysql). </p></div> <p>If the avatar is stored by Adium in the account PEP, it's stored by mod_pubsub. That module uses the internal Mnesia database. You can see the Mnesia tables size in the ejabberd Web Admin -&gt; Nodes -&gt; your node -&gt; Database. Probably when a new avatar is stored, some pubsub table increases its size.</p> <div class="quote-msg"> <div class="quote-author"><em>dfisher</em> wrote:</div> <p>Is it possible to configure mod_pubsub without avatar support? (Is this xep-0084?) </p></div> <p>You can disable PEP support by simply disabling the "pep" plugin in mod_pubsub options in ejabberd.cfg. Or disable mod_pubsub completely.</p> <div class="quote-msg"> <div class="quote-author"><em>dfisher</em> wrote:</div> <p>And how do I go about removing any existing avatars? </p></div> <p>I imagine when you disable pep, the avatars are no longer accessible. You can also delete the whole pubsub Mnesia table: Stop ejabberd, delete the files pubsub* in Mnesia's spool dir; start ejabberd.</p> Sat, 10 Jan 2009 18:16:02 +0000 mfoss comment 53912 at https://www.ejabberd.im