This commit is contained in:
Anthony Minessale 2012-02-09 12:03:11 -06:00
parent f4774047b8
commit d5f47a87ce
1 changed files with 2 additions and 2 deletions

View File

@ -2503,8 +2503,8 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
if (!strcasecmp(astate, "hangup")) {
astate = "terminated";
}
if (!sofia_test_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY)) {
if (sofia_test_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY)) {
if (!strcasecmp(astate, "ringing") || !strcasecmp(astate, "early")) {
astate = "confirmed";
}