Changeset 9624fdf for protocols/oscar
- Timestamp:
- 2007-04-17T04:49:17Z (18 years ago)
- Branches:
- master
- Children:
- 33dc261
- Parents:
- 717e3bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
r717e3bf r9624fdf 1070 1070 1071 1071 strip_linefeed(tmp); 1072 serv_got_im(ic, userinfo->sn, tmp, flags, time(NULL), -1);1072 imcb_buddy_msg(ic, userinfo->sn, tmp, flags, 0); 1073 1073 g_free(tmp); 1074 1074 … … 1167 1167 message = g_strdup(args->msg); 1168 1168 strip_linefeed(message); 1169 serv_got_im(ic, uin, message, 0, time(NULL), -1);1169 imcb_buddy_msg(ic, uin, message, 0, 0); 1170 1170 g_free(uin); 1171 1171 g_free(message); … … 1186 1186 1187 1187 strip_linefeed(message); 1188 serv_got_im(ic, uin, message, 0, time(NULL), -1);1188 imcb_buddy_msg(ic, uin, message, 0, 0); 1189 1189 g_free(uin); 1190 1190 g_free(m); … … 1748 1748 g_snprintf(sender, sizeof(sender), "%u", msg->sender); 1749 1749 strip_linefeed(dialog_msg); 1750 serv_got_im(ic, sender, dialog_msg, 0, t, -1);1750 imcb_buddy_msg(ic, sender, dialog_msg, 0, t); 1751 1751 g_free(dialog_msg); 1752 1752 } break; … … 1769 1769 1770 1770 strip_linefeed(dialog_msg); 1771 serv_got_im(ic, sender, dialog_msg, 0, t, -1);1771 imcb_buddy_msg(ic, sender, dialog_msg, 0, t); 1772 1772 g_free(dialog_msg); 1773 1773 g_free(m); … … 2421 2421 if(type2 == 0x0002) { 2422 2422 /* User is typing */ 2423 serv_got_typing(ic, sn, 0, 1);2423 imcb_buddy_typing(ic, sn, OPT_TYPING); 2424 2424 } 2425 2425 else if (type2 == 0x0001) { 2426 2426 /* User has typed something, but is not actively typing (stale) */ 2427 serv_got_typing(ic, sn, 0, 2);2427 imcb_buddy_typing(ic, sn, OPT_THINKING); 2428 2428 } 2429 2429 else { 2430 2430 /* User has stopped typing */ 2431 serv_got_typing(ic, sn, 0, 0);2431 imcb_buddy_typing(ic, sn, 0); 2432 2432 } 2433 2433
Note: See TracChangeset
for help on using the changeset viewer.