/pidgin/main: c0de6a76f8b0: Merged pidgin/main into default

Jerin Philip <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: c0de6a76f8b004ab73620d583678b3c64f72a20c
Author:	 Jerin Philip <[email protected]>
Date:	 2016-02-12 17:10 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/c0de6a76f8b0

Description:

Merged pidgin/main into default

diffstat:

 pidgin/plugins/cap/cap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/pidgin/plugins/cap/cap.c b/pidgin/plugins/cap/cap.c
--- a/pidgin/plugins/cap/cap.c
+++ b/pidgin/plugins/cap/cap.c
@@ -345,7 +345,7 @@ static void sent_im_msg(PurpleAccount *a
 	guint interval, words;
 	CapStatistics *stats = NULL;
 
-	buddy = purple_blist_find_buddy(account, purple_message_get_who(msg));
+	buddy = purple_blist_find_buddy(account, purple_message_get_recipient(msg));
 
 	if (buddy == NULL)
 		return;
@@ -355,7 +355,7 @@ static void sent_im_msg(PurpleAccount *a
 
 	stats = get_stats_for(buddy);
 
-	insert_word_count(purple_account_get_username(account), purple_message_get_who(msg), words);
+	insert_word_count(purple_account_get_username(account), purple_message_get_recipient(msg), words);
 	stats->last_message = time(NULL);
 	stats->last_message_status_id = purple_status_get_id(get_status_for(buddy));
 	if(stats->timeout_source_id != 0)

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.