aboutsummaryrefslogtreecommitdiffstats
path: root/facebook/facebook.h
diff options
context:
space:
mode:
authorjgeboski <jgeboski@gmail.com>2015-01-24 14:34:43 -0500
committerjgeboski <jgeboski@gmail.com>2015-01-24 14:34:43 -0500
commit06956d1aae2252b33a8f981e3b73c4cd1c2452b6 (patch)
tree3a9ddffa020db227e78b693ea2b8a63c047f2450 /facebook/facebook.h
parenta41d5d2fb4b81de3a46d3d652feac246aa5eddee (diff)
downloadbitlbee-facebook-06956d1aae2252b33a8f981e3b73c4cd1c2452b6.tar.gz
bitlbee-facebook-06956d1aae2252b33a8f981e3b73c4cd1c2452b6.tar.bz2
bitlbee-facebook-06956d1aae2252b33a8f981e3b73c4cd1c2452b6.tar.xz
facebook: create group chats directly with the fbjoin command
Currently, the plugin relies on the 'chat add' root command in order to create a new group chat. Aside from being an ugly hack, this prevents the plugin from being able to automatically join the bitlbee user into the newly created channel. In order to allow for automatic joining, the plugin should directly create the group chat, rather than relying on the "chat add" root command.
Diffstat (limited to 'facebook/facebook.h')
-rw-r--r--facebook/facebook.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/facebook/facebook.h b/facebook/facebook.h
index f397fa8..f5ff7ea 100644
--- a/facebook/facebook.h
+++ b/facebook/facebook.h
@@ -45,4 +45,10 @@ fb_data_t *fb_data_new(account_t *acc);
void fb_data_free(fb_data_t *fata);
+struct groupchat *fb_data_groupchat_new(struct im_connection *ic,
+ fb_id_t tid,
+ const gchar *name);
+
+void fb_data_groupchat_free(struct groupchat *gc);
+
#endif /* _FACEBOOK_H */