diff options
author | Treeston <treeston.mmoc@gmail.com> | 2018-09-13 00:11:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 00:11:27 +0200 |
commit | f27284594b18000a1c098262728fb19fdc63fc6c (patch) | |
tree | 22f79a005f4167fa52a88fb72d025d3d806d60a8 /src/common/Utilities/advstd.h | |
parent | 7bcc83696fe2b9828f86a8fe3b4f63d4b51c8484 (diff) |
[3.3.5] Core/Chat: Unify chat hyperlink parsing (PR #22417)
- Validate most link properties all the time
- If enabled, also validate link text (needs locale)
- Instead of blocking the entire message, sanitize it
- Apply filtering to DND/AFK messages. Closes #22399
Diffstat (limited to 'src/common/Utilities/advstd.h')
-rw-r--r-- | src/common/Utilities/advstd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/Utilities/advstd.h b/src/common/Utilities/advstd.h index ce32e14c335..de925225254 100644 --- a/src/common/Utilities/advstd.h +++ b/src/common/Utilities/advstd.h @@ -24,7 +24,8 @@ #include <utility> // this namespace holds implementations of upcoming stdlib features that our c++ version doesn't have yet -namespace advstd { +namespace advstd +{ // C++17 std::apply (constrained to only function pointers, not all callable) template <typename... Ts> using apply_tuple_type = std::tuple<std::remove_cv_t<std::remove_reference_t<Ts>>...>; |