Add a tile to the invitee list which represents an email tile
This commit is contained in:
@@ -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[]}
|
||||
|
||||
Reference in New Issue
Block a user