Prepared presence for getting status of remote user in future
authorHarvie <tomas@mudrunka.cz>
Tue, 22 Feb 2011 03:34:50 +0000 (04:34 +0100)
committerHarvie <tomas@mudrunka.cz>
Tue, 22 Feb 2011 03:34:50 +0000 (04:34 +0100)
answerscripts.c

index 3e8b3ca45b246d76e64fa831fffa5f86c2153f38..022a44024e8f88eb00e3796fc6c1ead2ca3867fc 100755 (executable)
@@ -62,6 +62,7 @@ int answerscripts_process_message_cb(answerscripts_job *job) {
 static void received_im_msg_cb(PurpleAccount *account, char *who, char *buffer, PurpleConversation *conv, PurpleMessageFlags flags, void *data) {
        if (conv == NULL) conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, who); //* A workaround to avoid skipping of the first message as a result on NULL-conv: */
        PurpleBuddy *buddy = purple_find_buddy(account, who);
+       PurplePresence *presence = purple_buddy_get_presence(buddy);
 
        //Get message
        message = purple_markup_strip_html(buffer);
This page took 0.13588 seconds and 4 git commands to generate.