Problem connecting to jabber server
Luca Bertoncello <[email protected]>
| Newsgroups | gmane.comp.gnome.gaim.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi list!
I wrote a little program using libpurple to send messages from programs.
It works very good with ICQ, but now I need to use Jabber, too...
Unfortunately I cannot connect to my Jabber-server...
In the logs of prosody I can just see:
Sep 24 10:49:31 c2s1de6560 info Client connected
But no authentication...
Here my code:
account = purple_account_new(cfg.login, "prpl-jabber");
purple_account_set_password(account, cfg.password);
purple_account_set_string(account, "server", cfg.server);
purple_account_set_int(account, "port", cfg.port);
purple_account_set_bool(account, "require_tls", TRUE);
purple_account_set_bool(account, "auth_plain_in_clear", TRUE);
purple_account_set_enabled(account, UI_ID, TRUE);
status = purple_savedstatus_new("ONLINE", PURPLE_STATUS_AVAILABLE);
purple_savedstatus_activate(status);
what am I doing wrong?
Thanks a lot!
Luca Bertoncello
([email protected])
_______________________________________________
Devel mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/devel