Fix right-clicking of emotes
There are a few more actions that we might want to add at a later date,
but a simple feature set has been implemented
Fix #386
This commit is contained in:
@@ -169,7 +169,6 @@ public:
|
||||
// b) which size it wants
|
||||
class EmoteElement : public MessageElement
|
||||
{
|
||||
const util::EmoteData data;
|
||||
std::unique_ptr<TextElement> textElement;
|
||||
|
||||
public:
|
||||
@@ -177,6 +176,8 @@ public:
|
||||
~EmoteElement() override = default;
|
||||
|
||||
void addToContainer(MessageLayoutContainer &container, MessageElement::Flags flags) override;
|
||||
|
||||
const util::EmoteData data;
|
||||
};
|
||||
|
||||
// contains a text, formated depending on the preferences
|
||||
|
||||
Reference in New Issue
Block a user