SYWEB-136: Send m.images according to the spec.

This commit is contained in:
Kegan Dougal 2014-11-04 11:26:03 +00:00
parent 1ac1cd6c14
commit f7cf978f68
2 changed files with 6 additions and 4 deletions

View file

@ -422,7 +422,8 @@ angular.module('matrixService', [])
var content = {
msgtype: "m.image",
url: image_url,
body: image_body
info: image_body,
body: "Image"
};
return this.sendMessage(room_id, msg_id, content);