From 2525a18e852e1b92d26dfd73c7f5f677235c43d4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 18 Nov 2020 10:35:06 +0100 Subject: Matrix: fix media not displayed after update --- src/QuickMedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index f66d419..dd5dece 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -3381,7 +3381,7 @@ namespace QuickMedia { auto filter_my_messages = [&me](Messages &messages) { for(auto it = messages.begin(); it != messages.end();) { - if((*it)->user == me) + if((*it)->user == me && (*it)->type == MessageType::TEXT) it = messages.erase(it); else ++it; -- cgit v1.2.3