--- a/pidgin/plugins/cap/cap.c Thu Mar 23 19:37:57 2017 +0300 +++ b/pidgin/plugins/cap/cap.c Thu Mar 23 21:01:15 2017 +0300 @@ -96,7 +96,7 @@ sta_id = purple_status_get_id(get_status_for(buddy)); - if(sta_id && !strcmp(sta_id, "offline")) { + if(sta_id && purple_strequal(sta_id, "offline")) { /* This is kind of stupid, change it. */ if(prediction == 1.0f) prediction = 0.0f;