Commit 30c9a878 authored by JC Brand's avatar JC Brand

Bugfix. Make sure nick is shown for sent messages

parent b3619077
...@@ -305,6 +305,7 @@ ...@@ -305,6 +305,7 @@
getOutgoingMessageAttributes (text, spoiler_hint) { getOutgoingMessageAttributes (text, spoiler_hint) {
const is_spoiler = this.get('composing_spoiler'); const is_spoiler = this.get('composing_spoiler');
return { return {
'nick': this.get('nick'),
'from': `${this.get('jid')}/${this.get('nick')}`, 'from': `${this.get('jid')}/${this.get('nick')}`,
'fullname': this.get('nick'), 'fullname': this.get('nick'),
'is_spoiler': is_spoiler, 'is_spoiler': is_spoiler,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment