From 2d0eb7554371e76f78203a85c70d68e20b25bfb2 Mon Sep 17 00:00:00 2001 From: jgeboski Date: Sun, 13 Sep 2015 12:47:07 -0400 Subject: facebook: wait for the user added event after inviting Currently, as soon as a user is invited to a group chat, they are added to the group chat. In order to ensure the user is actually added, the plugin should wait for an already handled group chat event for the user being added. --- facebook/facebook.c | 1 - 1 file changed, 1 deletion(-) (limited to 'facebook') diff --git a/facebook/facebook.c b/facebook/facebook.c index cc17a89..2f31305 100644 --- a/facebook/facebook.c +++ b/facebook/facebook.c @@ -707,7 +707,6 @@ fb_chat_invite(struct groupchat *gc, char *who, char *message) uid = FB_ID_FROM_STR(who); fb_api_thread_invite(api, tid, uid); - imcb_chat_add_buddy(gc, who); } static void -- cgit v1.2.3