mirror of
https://github.com/tijder/SmsMatrix.git
synced 2024-10-27 18:24:01 +00:00
Set message type to m.text
This commit is contained in:
parent
db893c9d35
commit
69029d44de
@ -154,7 +154,7 @@ public class Matrix {
|
|||||||
public void SendMesageToRoom(Room room, String body) {
|
public void SendMesageToRoom(Room room, String body) {
|
||||||
Message msg = new Message();
|
Message msg = new Message();
|
||||||
msg.body = body;
|
msg.body = body;
|
||||||
msg.msgtype = "m.mesage";
|
msg.msgtype = "m.text";
|
||||||
session.getRoomsApiClient().sendMessage(String.valueOf(transaction), room.getRoomId(), msg, new SimpleApiCallback<Event>());
|
session.getRoomsApiClient().sendMessage(String.valueOf(transaction), room.getRoomId(), msg, new SimpleApiCallback<Event>());
|
||||||
transaction++;
|
transaction++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user