feat: Add "Copy message as JSON" option when shift-right-clicking a message (#5150)

This commit is contained in:
pajlada
2024-02-03 13:03:31 +01:00
committed by GitHub
parent 0393146187
commit 7fdb3841db
3 changed files with 33 additions and 0 deletions
+6
View File
@@ -3,6 +3,7 @@
#include "common/FlagsEnum.hpp"
#include "util/QStringHash.hpp"
#include <magic_enum/magic_enum.hpp>
#include <QColor>
#include <QTime>
@@ -107,3 +108,8 @@ struct Message {
};
} // namespace chatterino
template <>
struct magic_enum::customize::enum_range<chatterino::MessageFlag> {
static constexpr bool is_flags = true;
};