aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp2
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;