Commit c0aa6483 authored by Vitaly Takmazov's avatar Vitaly Takmazov

Remote Roster ProtoXEP -> XEP-0321 or XEP-0356

parent 161a7988
......@@ -60,7 +60,7 @@ class RosterManager {
/// Associates the buddy with this roster,
/// and if the buddy is not already in XMPP user's server-side roster, the proper requests
/// are sent to XMPP user (subscribe presences, Roster Item Exchange stanza or
/// the buddy is added to server-side roster using remote-roster protoXEP).
/// the buddy is added to server-side roster using XEP-0321 or XEP-0356).
/// \param buddy Buddy
void setBuddy(Buddy *buddy);
......
......@@ -198,11 +198,11 @@ void XMPPRosterManager::handleRemoteRosterResponse(SWIFTEN_SHRPTR_NAMESPACE::sha
m_remoteRosterRequest.reset();
if (error) {
m_supportRemoteRoster = false;
LOG4CXX_INFO(logger, m_user->getJID().toString() << ": This server does not support remote roster protoXEP");
LOG4CXX_INFO(logger, m_user->getJID().toString() << ": This server does not allow us to modify your roster, consider enabling XEP-0321 or XEP-0356 support");
return;
}
LOG4CXX_INFO(logger, m_user->getJID().toString() << ": This server supports remote roster protoXEP");
LOG4CXX_INFO(logger, m_user->getJID().toString() << ": Roster modification is allowed");
m_supportRemoteRoster = true;
//If we receive empty RosterPayload on login (not register) initiate full RosterPush
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment