Frontend for timer updates and timer indicator
This commit is contained in:
parent
448835e4d5
commit
2b2c6ab040
10 changed files with 242 additions and 26 deletions
|
@ -44,7 +44,7 @@
|
|||
},
|
||||
addOne: function(model) {
|
||||
var view;
|
||||
if (model.get('type') === 'expirationTimerUpdate') {
|
||||
if (model.isExpirationTimerUpdate()) {
|
||||
view = new Whisper.ExpirationTimerUpdateView({model: model}).render();
|
||||
} else {
|
||||
view = new this.itemView({model: model}).render();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue