Display emotes in the recents list

This commit is contained in:
Emmanuel ROHEE 2014-08-29 09:49:03 +02:00
parent 96baf62e7a
commit 9b2cb41dcf

View File

@ -39,6 +39,11 @@
{{ room.lastMsg.user_id }} sent an image {{ room.lastMsg.user_id }} sent an image
</div> </div>
<div ng-switch-when="m.emote">
<span ng-bind-html="'* ' + (room.lastMsg.user_id) + ' ' + room.lastMsg.content.body | linky:'_blank'">
</span>
</div>
<div ng-switch-default> <div ng-switch-default>
{{ room.lastMsg.content }} {{ room.lastMsg.content }}
</div> </div>