$newParticipantIDs = array_diff(array_merge($this->parameters['participants'], $this->parameters['invisibleParticipants']), $participantIDs);
if (!empty($newParticipantIDs)) {
// update conversation count
+ UserStorageHandler::getInstance()->reset($newParticipantIDs, 'unreadConversationCount');
UserStorageHandler::getInstance()->reset($newParticipantIDs, 'conversationCount');
// fire notification event
$conversation->updateParticipants(array($conversation->userID));
// update conversation count
+ UserStorageHandler::getInstance()->reset($conversation->getParticipantIDs(), 'unreadConversationCount');
UserStorageHandler::getInstance()->reset($conversation->getParticipantIDs(), 'conversationCount');
}
}