Changeset b01dc6c


Ignore:
Timestamp:
2007-10-06T23:38:49Z (17 years ago)
Author:
VMiklos <vmiklos@…>
Branches:
master
Children:
c09d327
Parents:
31870ae
Message:

implemented skype_chat_leave()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    r31870ae rb01dc6c  
    620620}
    621621
     622void skype_chat_leave( struct groupchat *gc )
     623{
     624        struct im_connection *ic = gc->ic;
     625        char *buf;
     626        buf = g_strdup_printf("ALTER CHAT %s LEAVE\n", gc->title);
     627        skype_write( ic, buf, strlen( buf ) );
     628        g_free(buf);
     629}
     630
    622631void init_plugin(void)
    623632{
     
    634643        ret->remove_buddy = skype_remove_buddy;
    635644        ret->chat_msg = skype_chat_msg;
     645        ret->chat_leave = skype_chat_leave;
    636646        ret->handle_cmp = g_strcasecmp;
    637647        register_protocol( ret );
Note: See TracChangeset for help on using the changeset viewer.