src/blist.c

changeset 6640
007eb21016b4
parent 6564
a7a2c1927544
child 6695
2a63688f0d6d
equal deleted inserted replaced
6639:c7882d8e00da 6640:007eb21016b4
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;

mercurial