Remove experimental IRC support (#5547)
This commit is contained in:
@@ -116,13 +116,6 @@ public:
|
||||
void append(std::unique_ptr<MessageElement> element);
|
||||
void addLink(const linkparser::Parsed &parsedLink, const QString &source);
|
||||
|
||||
/**
|
||||
* Adds the text, applies irc colors, adds links,
|
||||
* and updates the message's messageText.
|
||||
* See https://modern.ircdocs.horse/formatting.html
|
||||
*/
|
||||
void addIrcMessageText(const QString &text);
|
||||
|
||||
template <typename T, typename... Args>
|
||||
// clang-format off
|
||||
// clang-format can be enabled once clang-format v11+ has been installed in CI
|
||||
@@ -155,17 +148,6 @@ private:
|
||||
TextElement *emplaceSystemTextAndUpdate(const QString &text,
|
||||
QString &toUpdate);
|
||||
|
||||
/**
|
||||
* This will add the text and replace any emojis
|
||||
* with an emoji emote-element.
|
||||
*
|
||||
* @param text Text to add
|
||||
* @param color Color of the text
|
||||
* @param addSpace true if a trailing space should be added after emojis
|
||||
*/
|
||||
void addIrcWord(const QString &text, const QColor &color,
|
||||
bool addSpace = true);
|
||||
|
||||
std::shared_ptr<Message> message_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user