diff --git a/src/jamidht/conversationrepository.cpp b/src/jamidht/conversationrepository.cpp index b6cb5f82115c26e2174782e3e5718aaa6c1d62de..88129602968ca91912227cd7b5db78468db0c772 100644 --- a/src/jamidht/conversationrepository.cpp +++ b/src/jamidht/conversationrepository.cpp @@ -1352,7 +1352,7 @@ ConversationRepository::Impl::checkValidVoteResolution(const std::string& userDe std::vector<std::string> bannedFiles; // Check that no weird file is added nor removed - static const std::regex regex_votes("votes." + voteType + const std::regex regex_votes("votes." + voteType + ".(members|devices|admins|invited).(\\w+).(\\w+)"); static const std::regex regex_devices("devices.(\\w+)\\.crt"); static const std::regex regex_banned("banned.(members|devices|admins).(\\w+)\\.crt");