mirror of
https://github.com/tijder/SmsMatrix.git
synced 2026-03-02 03:40:08 +00:00
Merge pull request #5 from erdnaxeli/msgType
Set message type to m.text
This commit is contained in:
@@ -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<Event>());
|
||||
transaction++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user