remove 'online' element from rpid

This commit is contained in:
Anthony Minessale 2010-08-03 13:55:08 -05:00
parent c15ee980a7
commit 7d058402df
1 changed files with 1 additions and 3 deletions

View File

@ -1026,7 +1026,7 @@ static char *translate_rpid(char *in)
} }
if (!strcasecmp(in, "unknown")) { if (!strcasecmp(in, "unknown")) {
r = "online"; r = NULL;
goto end; goto end;
} }
@ -1238,8 +1238,6 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
rpid = "unknown"; rpid = "unknown";
} }
prpid = translate_rpid(rpid);
if (!strcasecmp(proto, SOFIA_CHAT_PROTO)) { if (!strcasecmp(proto, SOFIA_CHAT_PROTO)) {
clean_id = switch_mprintf("sip:%s@%s", sub_to_user, sub_to_host); clean_id = switch_mprintf("sip:%s@%s", sub_to_user, sub_to_host);
} else { } else {