Add a queryrsp=true parameter to dispatched user.roster message when processing a roster query response.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4040 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2011-01-19 15:06:09 +00:00
parent 5a64e1b26f
commit d56f72c54f
1 changed files with 2 additions and 0 deletions

View File

@ -1821,6 +1821,8 @@ void YJBEngine::processRoster(JBEvent* ev, XmlElement* service, int tag, int iqT
return;
Message* m = __plugin.message("user.roster",ev->clientStream());
m->addParam("operation","update");
if (ev->id() == s_rosterQueryId)
m->addParam("queryrsp",String::boolText(true));
NamedString* count = new NamedString("contact.count");
m->addParam(count);
int n = 0;