| 2223 for(tmp = active_accts; tmp != NULL; tmp = tmp->next) { |
2223 for(tmp = active_accts; tmp != NULL; tmp = tmp->next) { |
| 2224 PurpleAccount *acct = tmp->data; |
2224 PurpleAccount *acct = tmp->data; |
| 2225 PurpleSavedStatusSub *sub = purple_savedstatus_get_substatus(ss, acct); |
2225 PurpleSavedStatusSub *sub = purple_savedstatus_get_substatus(ss, acct); |
| 2226 if (sub) { |
2226 if (sub) { |
| 2227 const PurpleStatusType *sub_type = purple_savedstatus_substatus_get_type(sub); |
2227 const PurpleStatusType *sub_type = purple_savedstatus_substatus_get_type(sub); |
| 2228 if (!strcmp(purple_status_type_get_id(sub_type), |
2228 const char *subtype_status_id = purple_status_type_get_id(sub_type); |
| |
2229 if (subtype_status_id && !strcmp(subtype_status_id, |
| 2229 purple_status_type_get_id(acct_status_type))) |
2230 purple_status_type_get_id(acct_status_type))) |
| 2230 found = TRUE; |
2231 found = TRUE; |
| 2231 } |
2232 } |
| 2232 } |
2233 } |
| 2233 if (!found) |
2234 if (!found) |