aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events/roommessageevent.cpp2
-rw-r--r--events/roommessageevent.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/events/roommessageevent.cpp b/events/roommessageevent.cpp
index b7459054..48f52453 100644
--- a/events/roommessageevent.cpp
+++ b/events/roommessageevent.cpp
@@ -171,7 +171,7 @@ RoomMessageEvent* RoomMessageEvent::fromJson(const QJsonObject& obj)
{
qDebug() << "RoomMessageEvent: unknown msgtype: " << msgtype;
qDebug() << obj;
- e->d->msgtype = MessageEventType::Unkown;
+ e->d->msgtype = MessageEventType::Unknown;
e->d->content = new MessageEventContent;
}
diff --git a/events/roommessageevent.h b/events/roommessageevent.h
index 939113d1..b0d5a1cb 100644
--- a/events/roommessageevent.h
+++ b/events/roommessageevent.h
@@ -27,7 +27,7 @@ namespace QMatrixClient
{
enum class MessageEventType
{
- Text, Emote, Notice, Image, File, Location, Video, Audio, Unkown
+ Text, Emote, Notice, Image, File, Location, Video, Audio, Unknown
};
class MessageEventContent
@@ -115,4 +115,4 @@ namespace QMatrixClient
}
-#endif // QMATRIXCLIENT_ROOMMESSAGEEVENT_H \ No newline at end of file
+#endif // QMATRIXCLIENT_ROOMMESSAGEEVENT_H