Changeset 93ece66
- Timestamp:
- 2007-08-20T01:49:06Z (17 years ago)
- Branches:
- master
- Children:
- 0bb1b7f
- Parents:
- 592f824
- Location:
- skype
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/README
r592f824 r93ece66 2 2 3 3 - Download nicks and away statuses from Skype 4 5 - Sending messages 4 6 5 7 What needs to be done: … … 9 11 - join / parts 10 12 11 - msg sending13 - msg receiving 12 14 13 - msg receiving15 - add/remove users, detect when somebody wants to add us (maybe detect when we're removed?) 14 16 15 17 Shots at: -
skype/skype.c
r592f824 r93ece66 185 185 } 186 186 187 static int skype_buddy_msg( struct im_connection *ic, char *who, char *message, int flags ) 188 { 189 char *buf, *ptr; 190 int st; 191 192 ptr = strchr(who, '@'); 193 *ptr = '\0'; 194 195 buf = g_strdup_printf("MESSAGE %s %s\n", who, message); 196 st = skype_write( ic, buf, strlen( buf ) ); 197 g_free(buf); 198 199 return st; 200 } 201 187 202 static void skype_set_away( struct im_connection *ic, char *state_txt, char *message ) 188 203 { … … 217 232 ret->init = skype_init; 218 233 ret->logout = skype_logout; 234 ret->buddy_msg = skype_buddy_msg; 219 235 ret->away_states = skype_away_states; 220 236 ret->add_buddy = skype_add_buddy;
Note: See TracChangeset
for help on using the changeset viewer.