summary refs log tree commit diff
path: root/src/Utils.h
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-03-18 15:46:04 +0100
committerGitHub <noreply@github.com>2021-03-18 15:46:04 +0100
commitf6de66576cc80e7767f2084d4b3efaf08aaad56d (patch)
tree6e26705fda350a3c2a4e014f4b5ac61f40fb2dad /src/Utils.h
parentMerge pull request #527 from anjanik012/ignore_event (diff)
parentMake CI happy (diff)
downloadnheko-f6de66576cc80e7767f2084d4b3efaf08aaad56d.tar.xz
Merge pull request #475 from LorenDB/htmlFormattedNotifs
Better notifications
Diffstat (limited to 'src/Utils.h')
-rw-r--r--src/Utils.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Utils.h b/src/Utils.h

index 373bed01..f8ead68c 100644 --- a/src/Utils.h +++ b/src/Utils.h
@@ -40,6 +40,9 @@ namespace utils { using TimelineEvent = mtx::events::collections::TimelineEvents; +RelatedInfo +stripReplyFallbacks(const TimelineEvent &event, std::string id, QString room_id_); + bool codepointIsEmoji(uint code); @@ -309,5 +312,8 @@ restoreCombobox(QComboBox *combo, const QString &value); //! Read image respecting exif orientation QImage -readImage(const QByteArray *data); +readImage(const QByteArray &data); + +bool +isReply(const mtx::events::collections::TimelineEvents &e); }