diff options
author | Matheus Gutjahr Stolf <matheus.stolf@seti.com.br> | 2022-05-06 07:33:02 -0300 |
---|---|---|
committer | Matheus Gutjahr Stolf <matheus.stolf@seti.com.br> | 2022-05-06 07:33:02 -0300 |
commit | 20502ea19c96f4541f1216857add596673edcd05 (patch) | |
tree | 110b713cfff7c98bb42ff55a9ac53b0b5055b566 /src/components/MessagesList/MessagesGroup/Message/MessagePart/Forwarder.vue | |
parent | 8cc7256db9766220308262eee0d420464bc7a7e7 (diff) |
Removed parent property when forwarding a message, this property is a proper id and when forwarded a message with this property is returning an error.
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/MessagePart/Forwarder.vue')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/Forwarder.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Forwarder.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Forwarder.vue index 0c9e59135..d1dfc405b 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Forwarder.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Forwarder.vue @@ -131,6 +131,10 @@ export default { // Overwrite the selected conversation token messageToBeForwarded.token = token + if (messageToBeForwarded.parent) { + delete messageToBeForwarded.parent + } + if (messageToBeForwarded.message === '{object}' && messageToBeForwarded.messageParameters.object) { const richObject = messageToBeForwarded.messageParameters.object try { |