Changeset 79e20f9


Ignore:
Timestamp:
2007-10-06T20:44:31Z (17 years ago)
Author:
VMiklos <vmiklos@…>
Branches:
master
Children:
349ee4a
Parents:
548bf76
Message:

implement skype_chat_msg()
now sending groupchat messages works, too :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    r548bf76 r79e20f9  
    587587}
    588588
    589 void skype_chat_msg( struct groupchat *c, char *message, int flags )
    590 {
    591         // TODO: this is just here atm to prevent a segfault
     589void skype_chat_msg( struct groupchat *gc, char *message, int flags )
     590{
     591        struct im_connection *ic = gc->ic;
     592        char *buf;
     593        buf = g_strdup_printf("CHATMESSAGE %s %s\n", gc->title, message);
     594        skype_write( ic, buf, strlen( buf ) );
     595        g_free(buf);
    592596}
    593597
Note: See TracChangeset for help on using the changeset viewer.