| 168 ops->update(gaimbuddylist, (GaimBlistNode*)buddy); |
168 ops->update(gaimbuddylist, (GaimBlistNode*)buddy); |
| 169 } |
169 } |
| 170 |
170 |
| 171 static gboolean presence_update_timeout_cb(struct buddy *buddy) { |
171 static gboolean presence_update_timeout_cb(struct buddy *buddy) { |
| 172 struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops; |
172 struct gaim_blist_ui_ops *ops = gaimbuddylist->ui_ops; |
| 173 GaimConversation *conv = gaim_find_conversation(buddy->name); |
173 GaimConversation *conv; |
| |
174 |
| |
175 conv = gaim_find_conversation_with_account(buddy->name, buddy->account); |
| 174 |
176 |
| 175 if(buddy->present == GAIM_BUDDY_SIGNING_ON) { |
177 if(buddy->present == GAIM_BUDDY_SIGNING_ON) { |
| 176 buddy->present = GAIM_BUDDY_ONLINE; |
178 buddy->present = GAIM_BUDDY_ONLINE; |
| 177 } else if(buddy->present == GAIM_BUDDY_SIGNING_OFF) { |
179 } else if(buddy->present == GAIM_BUDDY_SIGNING_OFF) { |
| 178 buddy->present = GAIM_BUDDY_OFFLINE; |
180 buddy->present = GAIM_BUDDY_OFFLINE; |