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

James Geboski <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 00dd525c43a262c3b187a61dcb971db6c323185c
Author:	 James Geboski <[email protected]>
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;
 			}
 

_______________________________________________
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.