/pidgin/main: 67131d0c2d24: facebook: add the local user to the ...
James Geboski <[email protected]>
| Newsgroups | gmane.comp.gnome.gaim.cvs |
|---|---|
| Message-ID | <[email protected]> |
Changeset: 67131d0c2d2445d64d85bb9f8390667ff8fab919 Author: James Geboski <[email protected]> Date: 2016-01-14 15:36 -0500 Branch: default URL: https://hg.pidgin.im/pidgin/main/rev/67131d0c2d24 Description: facebook: add the local user to the group chat user list diffstat: libpurple/protocols/facebook/facebook.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diffs (20 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 @@ -589,6 +589,7 @@ fb_cb_api_presences(FbApi *api, GSList * static void fb_cb_api_thread(FbApi *api, FbApiThread *thrd, gpointer data) { + const gchar *name; FbApiUser *user; FbData *fata = data; gboolean active; @@ -612,6 +613,8 @@ fb_cb_api_thread(FbApi *api, FbApiThread chat = purple_serv_got_joined_chat(gc, id, tid); } + name = purple_account_get_username(acct); + purple_chat_conversation_add_user(chat, name, NULL, 0, FALSE); purple_chat_conversation_set_topic(chat, NULL, thrd->topic); for (l = thrd->users; l != NULL; l = l->next) { _______________________________________________ Commits mailing list [email protected] https://pidgin.im/cgi-bin/mailman/listinfo/commits