[ejabberd] Fwd: directed presence issue

anders conbere aconbere at gmail.com
Thu Aug 28 06:55:54 MSD 2008


On Wed, Aug 27, 2008 at 7:45 PM, Jack Moffitt <jack at chesspark.com> wrote:
>> jid1 only sends a directed presence.   But I don't understand why the
>> correct behavior is to prevent Jid2 from sending messages back. If
>> someone sends me a directed presence, why shouldn't I be able to send
>> them messages?
>
> Because no resources are online, the server routing rules specify that
> messages to the bare jid go to offline storage or get bounced, etc.
> You could send messages to the full JID perfectly fine, and the server
> should deliver them as you expect.  This same situation would occur if
> you were to send negative priority presence.  Messages to the bare JID
> will not be delivered unless there is a non-negative resource online.

Why would there be no resources online?   jid1 IS sending an online
presence message, it's just directed at jid2.   Why wouldn't ejabberd
honor that presence message?

>
> See http://www.xmpp.org/internet-drafts/draft-saintandre-rfc3921bis-06.html#rules-barejid
> particularly section 8.3.1.1.
>
> jack.
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>


More information about the ejabberd mailing list