浏览代码

Bugfix. Make sure nick is shown for sent messages

JC Brand 7 年之前
父节点
当前提交
30c9a878ca
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/converse-muc.js

+ 1 - 0
src/converse-muc.js

@@ -305,6 +305,7 @@
                 getOutgoingMessageAttributes (text, spoiler_hint) {
                     const is_spoiler = this.get('composing_spoiler');
                     return {
+                        'nick': this.get('nick'),
                         'from': `${this.get('jid')}/${this.get('nick')}`,
                         'fullname': this.get('nick'),
                         'is_spoiler': is_spoiler,