--- a/pidgin/plugins/cap/cap.c Thu Mar 23 21:01:15 2017 +0300 +++ b/pidgin/plugins/cap/cap.c Fri Mar 24 02:23:46 2017 +0300 @@ -621,7 +621,7 @@ /* It would seem that some protocols receive periodic updates of the buddies status. * Check to make sure the last status is not the same as current status to prevent * to many duplicated useless database entries. */ - if(strcmp(statistics->last_status_id, purple_status_get_id(status)) == 0) + if(purple_strequal(statistics->last_status_id, purple_status_get_id(status))) return; status_id = purple_status_get_id(status);