Mercurial > pidgin
comparison src/server.c @ 8603:8d5084065107
[gaim-migrate @ 9354]
Away/back status updates are now logged again. Patch by Ka-Hing Cheung.
I should point out that the previous pref description change patch is by
Kevin Stange. Now he can sleep tonight. Or not, since he's probably hacking
on more cool patches, or something.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 07 Apr 2004 07:25:13 +0000 |
parents | 7dcd6f26e4a7 |
children | d4f6b9aa4cc8 |
comparison
equal
deleted
inserted
replaced
8602:6046b0b6abd0 | 8603:8d5084065107 |
---|---|
1136 gaim_blist_save(); | 1136 gaim_blist_save(); |
1137 } | 1137 } |
1138 | 1138 |
1139 old_idle = b->idle; | 1139 old_idle = b->idle; |
1140 | 1140 |
1141 if (gc->login_time_official && gc->login_time) | |
1142 signon += gc->login_time_official - gc->login_time; | |
1143 gaim_blist_update_buddy_signon(b, signon); | |
1144 gaim_blist_update_buddy_idle(b, idle); | |
1145 gaim_blist_update_buddy_evil(b, evil); | |
1146 /* LOG | |
1147 if ((b->uc & UC_UNAVAILABLE) && !(type & UC_UNAVAILABLE)) | |
1148 system_log(log_back, gc, b, OPT_LOG_BUDDY_AWAY); | |
1149 else if (!(b->uc & UC_UNAVAILABLE) && (type & UC_UNAVAILABLE)) | |
1150 system_log(log_away, gc, b, OPT_LOG_BUDDY_AWAY); | |
1151 */ | |
1152 gaim_blist_update_buddy_status(b, type); | |
1153 | |
1154 if (loggedin) { | 1141 if (loggedin) { |
1155 if (!GAIM_BUDDY_IS_ONLINE(b)) { | 1142 if (!GAIM_BUDDY_IS_ONLINE(b)) { |
1156 signing_on = TRUE; | 1143 signing_on = TRUE; |
1157 } | 1144 } |
1158 } else if (GAIM_BUDDY_IS_ONLINE(b)) { | 1145 } else if (GAIM_BUDDY_IS_ONLINE(b)) { |
1278 current_time, tmp); | 1265 current_time, tmp); |
1279 g_free(tmp); | 1266 g_free(tmp); |
1280 } | 1267 } |
1281 } | 1268 } |
1282 | 1269 |
1270 if (gc->login_time_official && gc->login_time) | |
1271 signon += gc->login_time_official - gc->login_time; | |
1272 gaim_blist_update_buddy_signon(b, signon); | |
1273 gaim_blist_update_buddy_idle(b, idle); | |
1274 gaim_blist_update_buddy_evil(b, evil); | |
1275 gaim_blist_update_buddy_status(b, type); | |
1276 | |
1283 | 1277 |
1284 if (c != NULL) | 1278 if (c != NULL) |
1285 gaim_conversation_update(c, GAIM_CONV_UPDATE_AWAY); | 1279 gaim_conversation_update(c, GAIM_CONV_UPDATE_AWAY); |
1286 | 1280 |
1287 gaim_blist_update_buddy_presence(b, loggedin); | 1281 gaim_blist_update_buddy_presence(b, loggedin); |