Fri, 24 Jul 2015 21:22:25 -0400
Added NULL Away state for compatibility
| libpurple/protocols/facebook/facebook.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/facebook/facebook.c Wed Jul 22 18:32:04 2015 -0400 +++ b/libpurple/protocols/facebook/facebook.c Fri Jul 24 21:22:25 2015 -0400 @@ -531,11 +531,16 @@ 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 *