summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-11-23 18:19:24 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-11-25 19:05:12 +0100
commitc2eea5cb5508ce0ec090b84dc9a2c9fd25b4dd88 (patch)
treebb038209732705ed1fff2ec873038c34f6bfd956 /src/timeline
parentUse a trie for filtering completions (not fuzzy yet) (diff)
downloadnheko-c2eea5cb5508ce0ec090b84dc9a2c9fd25b4dd88.tar.xz
Fix mimetype of media messages
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/InputBar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 5c8f0f11..b0d555b7 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -511,6 +511,7 @@ InputBar::showPreview(const QMimeData &source, QString path, const QStringList &
                   QSize dimensions;
                   QString blurhash;
                   auto mimeClass = mime.split("/")[0];
+                  nhlog::ui()->debug("Mime: {}", mime.toStdString());
                   if (mimeClass == "image") {
                           QImage img = utils::readImage(&data);