Remove order constraint in chatstate message.
This commit is contained in:
parent
422757832b
commit
3fcf9acfcc
@ -208,16 +208,16 @@
|
|||||||
if (this.model.get('sender') === 'me') {
|
if (this.model.get('sender') === 'me') {
|
||||||
text = __('Typing from another device');
|
text = __('Typing from another device');
|
||||||
} else {
|
} else {
|
||||||
text = name +' '+__('is typing');
|
text = __('%1$s is typing', name);
|
||||||
}
|
}
|
||||||
} else if (this.model.get('chat_state') === _converse.PAUSED) {
|
} else if (this.model.get('chat_state') === _converse.PAUSED) {
|
||||||
if (this.model.get('sender') === 'me') {
|
if (this.model.get('sender') === 'me') {
|
||||||
text = __('Stopped typing on the other device');
|
text = __('Stopped typing on the other device');
|
||||||
} else {
|
} else {
|
||||||
text = name +' '+__('has stopped typing');
|
text = __('%1$s has stopped typing', name);
|
||||||
}
|
}
|
||||||
} else if (this.model.get('chat_state') === _converse.GONE) {
|
} else if (this.model.get('chat_state') === _converse.GONE) {
|
||||||
text = name +' '+__('has gone away');
|
text = __('%1$s has gone away', name);
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user