FS-3983 try this

This commit is contained in:
Anthony Minessale 2012-03-07 13:05:27 -06:00
parent 37d6c8556c
commit 8f8af38365
1 changed files with 3 additions and 1 deletions

View File

@ -2499,7 +2499,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
}
if (!zstr(uuid)) {
if (zstr(uuid)) {
stream.write_function(&stream, "<state>terminated</state>\n");
} else {
if (!zstr(answer_state)) {
astate = answer_state;
}