Changeset d601f9b for skype/skype.c


Ignore:
Timestamp:
2007-10-16T23:09:09Z (17 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
09e2a69
Parents:
4285920
Message:

use the new imcb_chat_topic() function
WARNING: this is not yet in the bitlbee release branch, i'll update the docs
when it'll be there

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    r4285920 rd601f9b  
    339339                                                        {
    340340                                                                if(gc)
    341                                                                         imcb_log(ic, "%s changed the topic of %s to: %s", sd->handle, gc->title, sd->body);
     341                                                                        imcb_chat_topic(gc, sd->handle, sd->body);
    342342                                                        }
    343343                                                        else if(!strcmp(sd->type, "LEFT"))
     
    461461                                                if(gc)
    462462                                                        gc->data = (void*)FALSE;
     463                                        }
     464                                        else if(!strncmp(info, "TOPIC ", 6))
     465                                        {
     466                                                info += 6;
     467                                                struct groupchat *gc = skype_chat_by_name(ic, id);
     468                                                if(gc)
     469                                                        imcb_chat_topic(gc, NULL, info);
    463470                                        }
    464471                                        else if(!strncmp(info, "ACTIVEMEMBERS ", 14))
Note: See TracChangeset for help on using the changeset viewer.