Add a tile to the invitee list which represents an email tile

This commit is contained in:
Kegan Dougal 2016-01-22 17:20:52 +00:00
parent ed3a112e5c
commit c3f786cc5e
3 changed files with 49 additions and 9 deletions

View file

@ -108,6 +108,15 @@ class UserEntity extends Entity {
module.exports = {
newEntity: function(jsx, matchFn) {
var entity = new Entity();
entity.getJsx = function() {
return jsx;
};
entity.matches = matchFn;
return entity;
},
/**
* @param {RoomMember[]} members
* @return {Entity[]}