/soc/2015/jgeboski/facebook: 00dd525c43a2: facebook: refetch thr...

James Geboski jgeboski at gmail.com
Mon Aug 24 09:59:50 EDT 2015


Changeset: 00dd525c43a262c3b187a61dcb971db6c323185c
Author:	 James Geboski <jgeboski at gmail.com>
Date:	 2015-08-24 09:59 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/00dd525c43a2

Description:

facebook: refetch threads by the TID, not the UID

diffstat:

 libpurple/protocols/facebook/facebook.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/facebook/facebook.c b/libpurple/protocols/facebook/facebook.c
--- a/libpurple/protocols/facebook/facebook.c
+++ b/libpurple/protocols/facebook/facebook.c
@@ -383,7 +383,7 @@ fb_cb_api_events(FbApi *api, GSList *eve
 		switch (event->type) {
 		case FB_API_EVENT_TYPE_THREAD_USER_ADDED:
 			if (purple_blist_find_buddy(acct, uid) == NULL) {
-				g_hash_table_insert(fetch, &event->uid, event);
+				g_hash_table_insert(fetch, &event->tid, event);
 				break;
 			}
 



More information about the Commits mailing list