-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added option to leave group #135
base: development
Are you sure you want to change the base?
Conversation
UPDATE:To leave group chats using channel name
|
static void fb_cmd_fbchats(irc_t *irc, char **args); | ||
static void fb_cmd_fbcreate(irc_t *irc, char **args); | ||
static void fb_cmd_fbjoin(irc_t *irc, char **args); | ||
static void fb_cmd_fbleave(irc_t *irc, char **args); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this whole block? Please don't include unrelated changes
Thanks but I'm not sure I like this approach. I'd prefer to reduce the amount of root commands added by this plugin - I was already working on removing fbjoin and fbchats. Bitlbee specific code must not be used outside of facebook.c, since all the other files are shared with purple-facebook |
The block is simply declaration of all the functions defined in facebook.c.
I was using fb_cmd_fbchats in fb_login when I realized that the function is
defined after fb_login. So I just put declaration of all the functions in
the beginning of file for convenience. All but 2 declarations can be
removed.
How are you planning to do away with fbjoin and fbchats?
I don't think there is any bitlbee specific code outside facebook.c in the
pull request.
|
I would like to see this feature. Can it be accepted or has something similar been implemented? Leaving facebook group chats. |
Could you bridge it with /PART? |
This pull request fetches group chats automatically on login and adds an option to leave a group chat. You can only leave group chats that appear in
fbchats
. To leave other groups first add them tofbchats
usingchat add facebook <thread_id> #<channel>
Usage
To leave group chats using
fbchats
indexTo leave group chats using thread id