ejabberd - Comments for "blocking not working with ejabberd 2.1.10" https://www.ejabberd.im/node/5220 en Thank you for your reply. https://www.ejabberd.im/node/5220#comment-58405 <p>Thank you for your reply. </p> <p>When I block - for example gmail user - I will not receive messages from him but he keeps seeing me online - I thought that blocking includes presence as well. (that's why I even did not try to send messages - when both sides see each other online seems rude to ignore messages)</p> <p>Best regards,</p> <p>Michal</p> Thu, 01 Mar 2012 14:17:21 +0000 kopecnym comment 58405 at https://www.ejabberd.im kopecnym wrote: Maybe I just https://www.ejabberd.im/node/5220#comment-58403 <div class="quote-msg"> <div class="quote-author"><em>kopecnym</em> wrote:</div> <p>Maybe I just do not understand how it is supposed to work yet it seems to me that blocking is not working with ejabberd 2.1.10<br /> and pidgin 2.10.1 (nor with spark 2.6.3) </p></div> <p>Why do you say the Blocking feature does not work?</p> <div class="quote-msg"> <div class="quote-author"><em>kopecnym</em> wrote:</div> <p>And I do not see 'jabber:iq:privacy' in discovery either. </p></div> <p>For some unknown reason, ejabberd doesn't announce that feature. It announces urn:xmpp:blocking only.</p> <div class="quote-msg"> <div class="quote-author"><em>kopecnym</em> wrote:</div> <div class="codeblock"><code>(03:06:59) jabber: Sending (ssl) (me@domain.com/AMC): &lt;iq type=&#039;set&#039; id=&#039;purplefc5c17a5&#039;&gt;&lt;block xmlns=&#039;urn:xmpp:blocking&#039;&gt;&lt;item jid=&#039;bad@user.com&#039;/&gt;&lt;/block&gt;&lt;/iq&gt;<br />(03:06:59) jabber: Recv (ssl)(163): &lt;iq from=&#039;me@domain.com&#039; to=&#039;me@domain.com/AMC&#039; id=&#039;push416017944&#039; type=&#039;set&#039;&gt;&lt;query xmlns=&#039;jabber:iq:privacy&#039;&gt;&lt;list name=&#039;Blocked contacts&#039;/&gt;&lt;/query&gt;&lt;/iq&gt;<br />(03:06:59) jabber: Unhandled IQ with id push416017944<br />(03:06:59) jabber: Sending (ssl) (me@domain.com/AMC): &lt;iq xmlns=&#039;jabber:client&#039; id=&#039;push416017944&#039; to=&#039;me@domain.com&#039; type=&#039;error&#039;&gt;&lt;query xmlns=&#039;jabber:iq:privacy&#039;&gt;&lt;list name=&#039;Blocked contacts&#039;/&gt;&lt;/query&gt;&lt;error type=&#039;cancel&#039; code=&#039;501&#039;&gt;&lt;feature-not-implemented xmlns=&#039;urn:ietf:params:xml:ns:xmpp-stanzas&#039;/&gt;&lt;/error&gt;&lt;/iq&gt;</code></div> </div> <p>So your client sends the query, ejabberd replies that all is correct. Then your client sends a feature-not-implemented. Maybe your client gets confused.</p> <p>I tried with ejabberd 2.1.10 and Pidgin 2.10.0. I see in the logs the same that you, and the feature works correctly: when i block a contact, I don't receive messages that he sends me.</p> Wed, 29 Feb 2012 19:57:16 +0000 mfoss comment 58403 at https://www.ejabberd.im