Mercurial > pidgin
comparison libpurple/protocols/qq/qq_process.c @ 24648:c9a71b032496
Code clean
author | Hu Yong <ccpaging@gmail.com> |
---|---|
date | Wed, 19 Nov 2008 08:37:26 +0000 |
parents | 9f2149adcac2 |
children | fecedf6d9ee1 |
comparison
equal
deleted
inserted
replaced
24647:6591f7056b3a | 24648:c9a71b032496 |
---|---|
215 switch (type) { | 215 switch (type) { |
216 case QQ_MSG_TO_BUDDY: | 216 case QQ_MSG_TO_BUDDY: |
217 return "QQ_MSG_TO_BUDDY"; | 217 return "QQ_MSG_TO_BUDDY"; |
218 case QQ_MSG_TO_UNKNOWN: | 218 case QQ_MSG_TO_UNKNOWN: |
219 return "QQ_MSG_TO_UNKNOWN"; | 219 return "QQ_MSG_TO_UNKNOWN"; |
220 case QQ_MSG_UNKNOWN_QUN_IM: | 220 case QQ_MSG_QUN_IM_UNKNOWN: |
221 return "QQ_MSG_UNKNOWN_QUN_IM"; | 221 return "QQ_MSG_QUN_IM_UNKNOWN"; |
222 case QQ_MSG_ADD_TO_QUN: | 222 case QQ_MSG_ADD_TO_QUN: |
223 return "QQ_MSG_ADD_TO_QUN"; | 223 return "QQ_MSG_ADD_TO_QUN"; |
224 case QQ_MSG_DEL_FROM_QUN: | 224 case QQ_MSG_DEL_FROM_QUN: |
225 return "QQ_MSG_DEL_FROM_QUN"; | 225 return "QQ_MSG_DEL_FROM_QUN"; |
226 case QQ_MSG_APPLY_ADD_TO_QUN: | 226 case QQ_MSG_APPLY_ADD_TO_QUN: |
323 case QQ_MSG_TO_UNKNOWN: | 323 case QQ_MSG_TO_UNKNOWN: |
324 case QQ_MSG_TO_BUDDY: | 324 case QQ_MSG_TO_BUDDY: |
325 purple_debug_info("QQ", "MSG from buddy [%d]\n", header.uid_from); | 325 purple_debug_info("QQ", "MSG from buddy [%d]\n", header.uid_from); |
326 qq_process_im(gc, data + bytes, data_len - bytes); | 326 qq_process_im(gc, data + bytes, data_len - bytes); |
327 break; | 327 break; |
328 case QQ_MSG_UNKNOWN_QUN_IM: | 328 case QQ_MSG_QUN_IM_UNKNOWN: |
329 case QQ_MSG_TEMP_QUN_IM: | 329 case QQ_MSG_TEMP_QUN_IM: |
330 case QQ_MSG_QUN_IM: | 330 case QQ_MSG_QUN_IM: |
331 purple_debug_info("QQ", "MSG from room [%d]\n", header.uid_from); | 331 purple_debug_info("QQ", "MSG from room [%d]\n", header.uid_from); |
332 qq_process_room_im(data + bytes, data_len - bytes, header.uid_from, gc, header.msg_type); | 332 qq_process_room_im(data + bytes, data_len - bytes, header.uid_from, gc, header.msg_type); |
333 break; | 333 break; |
838 qq_process_group_cmd_join_group_auth(data + bytes, data_len - bytes, gc); | 838 qq_process_group_cmd_join_group_auth(data + bytes, data_len - bytes, gc); |
839 break; | 839 break; |
840 case QQ_ROOM_CMD_QUIT: | 840 case QQ_ROOM_CMD_QUIT: |
841 qq_process_group_cmd_exit_group(data + bytes, data_len - bytes, gc); | 841 qq_process_group_cmd_exit_group(data + bytes, data_len - bytes, gc); |
842 break; | 842 break; |
843 case QQ_ROOM_CMD_SEND_MSG: | 843 case QQ_ROOM_CMD_SEND_IM: |
844 qq_process_room_send_im(gc, data + bytes, data_len - bytes); | 844 qq_process_room_send_im(gc, data + bytes, data_len - bytes); |
845 break; | |
846 case QQ_ROOM_CMD_SEND_IM_EX: | |
847 qq_process_room_send_im_ex(gc, data + bytes, data_len - bytes); | |
845 break; | 848 break; |
846 case QQ_ROOM_CMD_GET_ONLINES: | 849 case QQ_ROOM_CMD_GET_ONLINES: |
847 qq_process_room_cmd_get_onlines(data + bytes, data_len - bytes, gc); | 850 qq_process_room_cmd_get_onlines(data + bytes, data_len - bytes, gc); |
848 break; | 851 break; |
849 case QQ_ROOM_CMD_GET_BUDDIES: | 852 case QQ_ROOM_CMD_GET_BUDDIES: |