/soc/2015/jgeboski/facebook: 051e2725dec4: Added NULL Away state...
James Geboski <[email protected]>
| Newsgroups | gmane.comp.gnome.gaim.cvs |
|---|---|
| Message-ID | <[email protected]> |
Changeset: 051e2725dec4b20b0cf2fc81cf20a4558c35373d Author: James Geboski <[email protected]> Date: 2015-07-24 21:22 -0400 Branch: facebook URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/051e2725dec4 Description: Added NULL Away state for compatibility diffstat: libpurple/protocols/facebook/facebook.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diffs (21 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 @@ -531,11 +531,16 @@ fb_status_types(PurpleAccount *acct) NULL, NULL, TRUE); types = g_list_prepend(types, type); + /* Just a NULL state (as of now) for compatibility */ + type = purple_status_type_new(PURPLE_STATUS_AWAY, + NULL, NULL, TRUE); + types = g_list_prepend(types, type); + type = purple_status_type_new(PURPLE_STATUS_OFFLINE, NULL, NULL, TRUE); types = g_list_prepend(types, type); - return types; + return g_list_reverse(types); } static const char * _______________________________________________ Commits mailing list [email protected] https://pidgin.im/cgi-bin/mailman/listinfo/commits