From 69029d44de51b5f8bb6f121b99773c1cb513628d Mon Sep 17 00:00:00 2001 From: Alexandre Morignot Date: Thu, 12 Oct 2017 10:11:29 +0200 Subject: [PATCH] Set message type to m.text --- app/src/main/java/eu/droogers/smsmatrix/Matrix.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/droogers/smsmatrix/Matrix.java b/app/src/main/java/eu/droogers/smsmatrix/Matrix.java index 21e8357..0fd2f09 100644 --- a/app/src/main/java/eu/droogers/smsmatrix/Matrix.java +++ b/app/src/main/java/eu/droogers/smsmatrix/Matrix.java @@ -154,7 +154,7 @@ public class Matrix { public void SendMesageToRoom(Room room, String body) { Message msg = new Message(); msg.body = body; - msg.msgtype = "m.mesage"; + msg.msgtype = "m.text"; session.getRoomsApiClient().sendMessage(String.valueOf(transaction), room.getRoomId(), msg, new SimpleApiCallback()); transaction++; }