simple purple_conversation_write

frederico schardong frede.sch at gmail.com
Wed Apr 29 16:01:32 EDT 2009


Hi, I'm just trying to send a messages constantly to someone... Will
be anything like that?

void teste()
{
    PurpleConversation *gconv;

        gconv = purple_conversation_new(PURPLE_CONV_TYPE_IM, accountt, "nome");

        purple_conversation_write(gconv, "hmoih at yahoo.com.br", "teste
ae!", PURPLE_MESSAGE_SEND, time(NULL));

        printf("\ntentou mandar!");
}


int the main: g_timeout_add(1000,(GSourceFunc)teste, NULL);

accountt is a global variable containing the account connected...


-- 
Abraço,
Frederico Schardong,
SOLIS - O lado livre da tecnologia
www.solis.coop.br




More information about the Devel mailing list