Decorate incoming group messages
with numbers and image placeholders, so you know who's saying what.
This commit is contained in:
parent
78166365c7
commit
19dac1f3df
3 changed files with 24 additions and 1 deletions
|
@ -24,7 +24,8 @@ var Whisper = Whisper || {};
|
|||
message: this.model.get('body'),
|
||||
date: this.formatTimestamp(),
|
||||
attachments: this.model.get('attachments'),
|
||||
bubble_class: this.model.get('type') === 'outgoing' ? 'sent' : 'incoming'
|
||||
bubble_class: this.model.get('type') === 'outgoing' ? 'sent' : 'incoming',
|
||||
sender: this.model.thread().get('type') === 'group' ? this.model.get('person') : ''
|
||||
})
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue