From c41f1b3547570e5ad65d64cdda2de8c1b32dac39 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 18 Jun 2019 10:33:40 +0000 Subject: [PATCH] Fix wrong type --- lib/src/Room.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Room.dart b/lib/src/Room.dart index 19ed768..a4ac9c8 100644 --- a/lib/src/Room.dart +++ b/lib/src/Room.dart @@ -189,7 +189,7 @@ class Room { final String messageID = "msg$now"; EventUpdate eventUpdate = - EventUpdate(type: type, roomID: id, eventType: "timeline", content: { + EventUpdate(type: "timeline", roomID: id, eventType: type, content: { "type": type, "id": messageID, "sender": client.userID,