purple_conv_im_send works not as expected
Ka-Hing Cheung
khc at hxbc.us
Sat Nov 24 17:56:34 EST 2007
On Sat, 2007-11-24 at 16:24 +0100, Anatoliy Belsky wrote:
> purple_signal_connect(purple_connections_get_handle(), "signed-on",
> &handle, PURPLE_CALLBACK(signed_on), NULL);
>
> conv = purple_conversation_new(PURPLE_CONV_TYPE_IM,
> account, "account2 at hotmail.com)");
> purple_conv_im_send(PURPLE_CONV_IM(conv), "hi there!");
When your account is connected, signed_on() is called. You should do
your im_send stuff there.
-khc
More information about the Devel
mailing list