Changeset c102bbf in code for cmd.c


Ignore:
Timestamp:
Mar 9, 2014, 10:42:06 PM (11 years ago)
Author:
Florian Obser <florian@…>
Branches:
master
Children:
b6c9dd3
Parents:
c4a43f1
Message:

Make pidgin-icb /who and /msg work for real.

pidgin-icb seems to treat "." as the current group, so return the who
output for the group the icb session is connected to.
Turns out the previous commit doesn't fix anything - the tests were
wrong, so revert that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cmd.c

    rc4a43f1 rc102bbf  
    376376                return icb_who(is, NULL);
    377377
     378        /* pidgin-icb treats '.' as the current group */
     379        if (strlen(arg) == 1 && arg[0] == '.') {
     380                icb_who(is, is->group);
     381                return;
     382        }
     383
    378384        icb_vis(group, arg, ICB_MAXGRPLEN, VIS_SP);
    379385        LIST_FOREACH(ig, &groups, entry) {
Note: See TracChangeset for help on using the changeset viewer.