From 9d4151dd00b103c58b96028ef36b8f73e3433016 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 12 Sep 2021 17:00:32 +0200 Subject: [PATCH] Fix build against quotient 0.6 --- src/neochatroom.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/neochatroom.h b/src/neochatroom.h index bf8ca9f45..99a30cd8c 100644 --- a/src/neochatroom.h +++ b/src/neochatroom.h @@ -112,6 +112,13 @@ public: bool isInvite() const; +#ifndef QUOTIENT_07 + Q_INVOKABLE QString htmlSafeMemberName(const QString &userId) const + { + return safeMemberName(userId).toHtmlEscaped(); + } +#endif + private: QString m_cachedInput; QSet highlights;