// Privacy not allowed, request is denied
processResponse(conn, clientResponse, level);
finishCurrentRequest();
- processEvents();
+
} else {
// Privacy allowed - check if more privacies are to process
PrivaciesSequence &seq = m_eventToPrivaciesSeq[m_currentEvent];
m_pendingEvents[0] = std::move(fdEvent);
// don't call finishCurrentRequest here, because it will pop event, which we replaced
m_currentEvent = EventId();
- processEvents();
} else {
// No more privacies, request is allowed
- processResponse(it->second, clientResponse, level);
+ processResponse(conn, clientResponse, level);
finishCurrentRequest();
- processEvents();
}
}
+ processEvents();
}
} // namespace Notification