slap a bunch of shit everywhere until the crashing stops
This commit is contained in:
@@ -367,7 +367,7 @@ std::string ChatMessageItemContainer::ParseMessageContent(std::string content) {
|
||||
}
|
||||
|
||||
std::string ChatMessageItemContainer::ParseMentions(std::string content) {
|
||||
constexpr static const auto mentions_regex = R"(<@(\d+)>)";
|
||||
constexpr static const auto mentions_regex = R"(<@!?(\d+)>)";
|
||||
|
||||
return RegexReplaceMany(content, mentions_regex, [this](const std::string &idstr) -> std::string {
|
||||
const Snowflake id(idstr);
|
||||
|
Reference in New Issue
Block a user