send roster push when buddy is removed
This commit is contained in:
parent
7ec599cb50
commit
6d96d5725b
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ bool RosterResponder::handleSetRequest(const Swift::JID& from, const Swift::JID&
|
|||
if (item.getSubscription() == Swift::RosterItemPayload::Remove) {
|
||||
LOG4CXX_INFO(logger, from.toBare().toString() << ": Removing buddy " << buddy->getName());
|
||||
onBuddyRemoved(buddy);
|
||||
|
||||
// send roster push here
|
||||
Swift::SetRosterRequest::ref request = Swift::SetRosterRequest::create(payload, user->getJID().toBare(), user->getComponent()->getIQRouter());
|
||||
request->send();
|
||||
}
|
||||
else {
|
||||
LOG4CXX_INFO(logger, from.toBare().toString() << ": Updating buddy " << buddy->getName());
|
||||
|
|
Loading…
Add table
Reference in a new issue