Changeset 09e2a69


Ignore:
Timestamp:
2007-10-16T23:09:22Z (13 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
f8674db
Parents:
d601f9b
Message:

implement skype_chat_topic()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    rd601f9b r09e2a69  
    682682}
    683683
     684void skype_chat_topic(struct groupchat *gc, char *message)
     685{
     686        struct im_connection *ic = gc->ic;
     687        char *buf;
     688        buf = g_strdup_printf("ALTER CHAT %s SETTOPIC %s\n", gc->title, message);
     689        skype_write( ic, buf, strlen( buf ) );
     690        g_free(buf);
     691}
     692
    684693struct groupchat *skype_chat_with(struct im_connection *ic, char *who)
    685694{
     
    716725        ret->chat_with = skype_chat_with;
    717726        ret->handle_cmp = g_strcasecmp;
     727        ret->chat_topic = skype_chat_topic;
    718728        register_protocol( ret );
    719729}
Note: See TracChangeset for help on using the changeset viewer.