aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events/event.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/events/event.cpp b/events/event.cpp
index 95084ddb..55114e6b 100644
--- a/events/event.cpp
+++ b/events/event.cpp
@@ -109,7 +109,9 @@ bool Event::parseJson(const QJsonObject& obj)
{
d->originalJson = QString::fromUtf8(QJsonDocument(obj).toJson());
bool correct = (d->type != EventType::Unknown);
- if ( d->type != EventType::Unknown && d->type != EventType::Typing )
+ if ( d->type != EventType::Unknown &&
+ d->type != EventType::Typing &&
+ d->type != EventType::Receipt )
{
if( obj.contains("event_id") )
{