Changeset 80c2f3c for irc.h


Ignore:
Timestamp:
2015-11-20T15:51:45Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
8fdeaa5
Parents:
0d8a9bb0
git-author:
dequis <dx@…> (20-11-15 15:33:34)
git-committer:
dequis <dx@…> (20-11-15 15:51:45)
Message:

IRCv3 away-notify capability

Neat lightweight notifications of the awayness of contacts.

In practice, this means weechat/hexchat users can see away people in
their nick list and change show_users to 'online,special,away' to avoid
the mode spam completely.

These are also sent on online/offline changes, since offline_user_quits
can be turned off, and you'd need something when they come back.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    r0d8a9bb0 r80c2f3c  
    7171        CAP_MULTI_PREFIX = (1 << 1),
    7272        CAP_EXTENDED_JOIN = (1 << 2),
     73        CAP_AWAY_NOTIFY = (1 << 3),
    7374} irc_cap_flag_t;
    7475
     
    342343void irc_send_invite(irc_user_t *iu, irc_channel_t *ic);
    343344void irc_send_cap(irc_t *irc, char *subcommand, char *body);
     345void irc_send_away_notify(irc_user_t *iu);
    344346
    345347/* irc_user.c */
Note: See TracChangeset for help on using the changeset viewer.