зеркало из https://github.com/nextcloud/spreed.git
Merge pull request #2400 from nextcloud/bugfix/vuejs/quoting-with-parsed-messages
Fix quoting with parsed messages
This commit is contained in:
Коммит
ac22a1b66b
|
@ -238,13 +238,18 @@ export default {
|
||||||
return DefaultParameter
|
return DefaultParameter
|
||||||
},
|
},
|
||||||
handleReply() {
|
handleReply() {
|
||||||
const MESSAGE_TO_BE_REPLIED = {
|
this.$store.dispatch('addMessageToBeReplied', {
|
||||||
id: this.id,
|
id: this.id,
|
||||||
|
actorId: this.actorId,
|
||||||
|
actorType: this.actorType,
|
||||||
actorDisplayName: this.actorDisplayName,
|
actorDisplayName: this.actorDisplayName,
|
||||||
|
timestamp: this.timestamp,
|
||||||
|
systemMessage: this.systemMessage,
|
||||||
|
messageType: this.messageType,
|
||||||
message: this.message,
|
message: this.message,
|
||||||
|
messageParameters: this.messageParameters,
|
||||||
token: this.token,
|
token: this.token,
|
||||||
}
|
})
|
||||||
this.$store.dispatch('addMessageToBeReplied', Object.assign({}, MESSAGE_TO_BE_REPLIED))
|
|
||||||
},
|
},
|
||||||
handleDelete() {
|
handleDelete() {
|
||||||
this.$store.dispatch('deleteMessage', this.message)
|
this.$store.dispatch('deleteMessage', this.message)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче