Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dequis/purple-facebook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/purple-compat.h')
-rw-r--r--include/purple-compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/purple-compat.h b/include/purple-compat.h
index ee160c8..82c26ab 100644
--- a/include/purple-compat.h
+++ b/include/purple-compat.h
@@ -90,6 +90,9 @@ struct _PurpleMessage
#define purple_serv_join_chat serv_join_chat
#define purple_status_get_status_type purple_status_get_type
+#define purple_chat_conversation_get_users_count(c) \
+ g_list_length(purple_conv_chat_get_users(c))
+
#define purple_conversations_find_chat(c, i) \
purple_conversation_get_chat_data( \
purple_find_chat(c, i) \