comparison src/protocols/msn/msn.c @ 6622:a4622f1fb5a1

[gaim-migrate @ 7146] (10:10:23) Robot101: kills off OPT_CONN_* in favour of an enum, and deprecates all the IM_FLAGS_* except IM_FLAG_AWAY which is made into GAIM_IM_AUTO_RESP in a GaimImFlags enum. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 25 Aug 2003 14:12:28 +0000
parents cc41123c684a
children 156e6643f9db
comparison
equal deleted inserted replaced
6621:42fdf16f1dad 6622:a4622f1fb5a1
474 gc->proto_data = NULL; 474 gc->proto_data = NULL;
475 } 475 }
476 476
477 static int 477 static int
478 msn_send_im(GaimConnection *gc, const char *who, const char *message, 478 msn_send_im(GaimConnection *gc, const char *who, const char *message,
479 int len, int flags) 479 int len, GaimImFlags flags)
480 { 480 {
481 GaimAccount *account = gaim_connection_get_account(gc); 481 GaimAccount *account = gaim_connection_get_account(gc);
482 MsnSession *session = gc->proto_data; 482 MsnSession *session = gc->proto_data;
483 MsnSwitchBoard *swboard; 483 MsnSwitchBoard *swboard;
484 484
520 /* 520 /*
521 * In MSN, you can't send messages to yourself, so 521 * In MSN, you can't send messages to yourself, so
522 * we'll fake like we received it ;) 522 * we'll fake like we received it ;)
523 */ 523 */
524 serv_got_typing_stopped(gc, (char *)who); 524 serv_got_typing_stopped(gc, (char *)who);
525 serv_got_im(gc, who, message, flags | IM_FLAG_GAIMUSER, 525 serv_got_im(gc, who, message, flags,
526 time(NULL), -1); 526 time(NULL), -1);
527 } 527 }
528 528
529 return 1; 529 return 1;
530 } 530 }