Changeset 2487112 for protocols


Ignore:
Timestamp:
2013-01-16T20:26:58Z (8 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
a6a2d81
Parents:
d4b5e5b
Message:

skype_parse_chat: read MEMBERS, not ACTIVEMEMBERS

This makes /invite working again. No idea when this got broken, but I
promise the next commit will add a tescase for it.

Also, with this, other groupchat members will be already present in the
gropuchat when we chain, finally solving the annoying fake joins
presenting till now.

Location:
protocols/skype
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/skype.c

    rd4b5e5b r2487112  
    980980                        sd->adder = NULL;
    981981                }
    982         } else if (!strncmp(info, "ACTIVEMEMBERS ", 14)) {
    983                 info += 14;
     982        } else if (!strncmp(info, "MEMBERS ", 8)) {
     983                info += 8;
    984984                gc = bee_chat_by_title(ic->bee, ic, id);
    985985                /* Hack! We set ->data to TRUE
  • protocols/skype/t/groupchat-invited-bitlbee.mock

    rd4b5e5b r2487112  
    66<< PRIVMSG &bitlbee :account skype on
    77>> JOIN :##cecil/$bob;4d8cc9965791
    8 >> 353 alice = ##cecil/$bob;4d8cc9965791 :@alice bob @root
    9 >> :cecil!cecil@skype.com JOIN :##cecil/$bob;4d8cc9965791
     8>> 353 alice = ##cecil/$bob;4d8cc9965791 :@alice bob cecil @root
Note: See TracChangeset for help on using the changeset viewer.