[ejabberd] Exmpp bot jabber client autorization

Boris Okner boris.okner at gmail.com
Fri May 20 17:18:37 MSD 2011


More specifically:

exmpp_session:send_packet(Session, exmpp_presence:available()).

, or some other flavor of presence (with status etc)  - see
exmpp_presence.erl for options.

Regards,
Boris

On Fri, May 20, 2011 at 9:13 AM, Boris Okner <boris.okner at gmail.com> wrote:

> Send "available" presence, for example:
>
> exmpp_presence:available().
>
> Regards,
> Boris
>
>
> On Fri, May 20, 2011 at 3:09 AM, Alexander Kuleshov <
> kuleshovmail at gmail.com> wrote:
>
>> Hello,
>>
>> I run echo client
>> (https://github.com/processone/exmpp/blob/master/examples/echo_client.erl
>> )
>> It works. But when i add it to roster it's offline. Why? How can i
>> make online status for it?
>>
>> Thank you.
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20110520/8d40ce33/attachment.html>


More information about the ejabberd mailing list