Do not try reconnecting users in server mode
This commit is contained in:
parent
99f83a73ef
commit
e679631b87
1 changed files with 4 additions and 0 deletions
|
@ -251,6 +251,10 @@ boost::shared_ptr<Swift::DiscoInfo> XMPPFrontend::sendCapabilitiesRequest(Swift:
|
|||
}
|
||||
|
||||
void XMPPFrontend::reconnectUser(const std::string &user) {
|
||||
if (inServerMode()) {
|
||||
return;
|
||||
}
|
||||
|
||||
LOG4CXX_INFO(logger, "Sending probe presence to " << user);
|
||||
Swift::Presence::ref response = Swift::Presence::create();
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue