Add a tile to the invitee list which represents an email tile
This commit is contained in:
parent
ed3a112e5c
commit
c3f786cc5e
3 changed files with 49 additions and 9 deletions
|
@ -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[]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue