Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/qq_define.c @ 24079:1bdf7b602684
2008.10.07 - ccpaging <ccpaging(at)gmail.com>
* Update qun conversation
* Drop group_conv.c and group_conv.h
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:58:32 +0000 |
parents | dbc7a9742f8d |
children | 7c0a56c5fea0 |
comparison
equal
deleted
inserted
replaced
24078:0a92aa673a33 | 24079:1bdf7b602684 |
---|---|
243 return "QQ_ROOM_CMD_TEMP_GET_MEMBERS"; | 243 return "QQ_ROOM_CMD_TEMP_GET_MEMBERS"; |
244 default: | 244 default: |
245 return "Unknown Room Command"; | 245 return "Unknown Room Command"; |
246 } | 246 } |
247 } | 247 } |
248 | |
249 /* check if status means online or offline */ | |
250 gboolean is_online(guint8 status) | |
251 { | |
252 switch(status) { | |
253 case QQ_BUDDY_ONLINE_NORMAL: | |
254 case QQ_BUDDY_ONLINE_AWAY: | |
255 case QQ_BUDDY_ONLINE_INVISIBLE: | |
256 case QQ_BUDDY_ONLINE_BUSY: | |
257 return TRUE; | |
258 case QQ_BUDDY_CHANGE_TO_OFFLINE: | |
259 return FALSE; | |
260 } | |
261 return FALSE; | |
262 } |