diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-11-18 10:35:06 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-11-18 10:35:06 +0100 |
commit | 2525a18e852e1b92d26dfd73c7f5f677235c43d4 (patch) | |
tree | 2d8dad1c67f77e5877c1ba97a98f4db4f7748a50 /src | |
parent | 44ddab79f30bb959d363b58d8bce41bfc0892414 (diff) |
Matrix: fix media not displayed after update
Diffstat (limited to 'src')
-rw-r--r-- | src/QuickMedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |