提交 7eae7f37 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-2877 After further review I can concede the point that we should always say…

FS-2877 After further review I can concede the point that we should always say partial considering how we do things.  With this commit we should at least be sending separate partial updates for each existing dialog to everyone with a subscription.  If we need to introduce more data, consolidate them etc.  We need to do it in small chunks and keep things sane.
上级 6fb73a4c
......@@ -1506,9 +1506,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
stream.write_function(&stream,
"<?xml version=\"1.0\"?>\n"
"<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" "
"version=\"%s\" state=\"%s\" entity=\"%s\">\n",
version,
zstr(uuid) ? "partial" : "full", clean_id);
"version=\"%s\" state=\"partial\" entity=\"%s\">\n", version, clean_id);
}
//if (strcasecmp(event_status, "Registered")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论