Changeset 7821ee8 for protocols


Ignore:
Timestamp:
2015-01-29T19:24:17Z (10 years ago)
Author:
jgeboski <jgeboski@…>
Branches:
master
Children:
e41cc40
Parents:
7b8238d
git-author:
jgeboski <jgeboski@…> (28-01-15 23:40:47)
git-committer:
jgeboski <jgeboski@…> (29-01-15 19:24:17)
Message:

irc_commands: implemented KICK support

With similar commands being supported, such as INVITE, the KICK command
should be supported as well. The key motivation behind supporting KICK
is having for having a way to remove users from group chats. As of now,
there is no way for a bitlbee user to remove a user from a group chat.
With no current KICK implementation, it made using this command a prime
candidate for the UI side of this implementation. In addition, the KICK
command has been supported in the control channel as well. This is to
keep the INVITE/KICK pair consistent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    r7b8238d r7821ee8  
    213213         */
    214214        void (* chat_invite)    (struct groupchat *, char *who, char *message);
     215        /* This is called when the user uses the /kick IRC command.
     216         * - 'who' is a handle to kick
     217         * - 'message' is a kick message or NULL
     218         */
     219        void (* chat_kick)      (struct groupchat *, char *who, const char *message);
    215220        /* This is called when the user uses the /part IRC command in a group
    216221         * chat. You just should tell the user about it, nothing more. */
Note: See TracChangeset for help on using the changeset viewer.