Fix wrong type

This commit is contained in:
Christian 2019-06-18 10:33:40 +00:00
parent 31ef612330
commit c41f1b3547

View file

@ -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,