[jdev] Presence Subscription to nonexistent contact

Daniel Dormont dan at greywallsoftware.com
Fri Nov 2 15:17:04 UTC 2012

I read through that, but I still don't follow why the server would not
send some kind of response back to the user about the contact not
existing, even if it's just another roster push to remove the contact.
But in both cases, whether or not the contact exists, I get the same

<iq id="push3246656642" xmlns="jabber:client" from="user at mydomain"
to="user at mydomain/myresource" type="set">
<query xmlns="jabber:iq:roster">
<item ask="subscribe" subscription="none" jid="contact at mydomain"></item>

On Fri, Nov 2, 2012 at 2:05 AM, Philipp Hancke
<fippo at goodadvice.pages.de> wrote:
>> Unfortunately, I don't think I'm getting that error response with the
>> version of ejabberd that I'm using. I'll double check it and inquire
>> in the ejabberd list if this turns out to be the case.
> if the error is delivered to the client the server is doing something wrong.
> Even though (iirc) 6121 does not explicitly specify how to handle the error,
> delivering it to a users client without modifying the roster is certainly
> not the right thing.
> See http://www.ietf.org/mail-archive/web/xmpp/current/msg00057.html and
> http://www.ietf.org/mail-archive/web/xmpp/current/msg01406.html for some
> background information.
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________

More information about the JDev mailing list