summaryrefslogtreecommitdiffstats
path: root/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-06-10 09:14:28 +0200
committerVincent Petry <vincent@nextcloud.com>2021-06-10 09:24:40 +0200
commitd79b5ed73e9f70b90858e549610a313c7f2bfcc1 (patch)
treec8862145dc30cd6da728710a9056736ec616a418 /src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue
parentaf34776927361b6b89c229a8448545c30ce83259 (diff)
Don't trigger leave event when deleting conversation
When deleting a conversation, the route change would implicitly trigger a leave request which ran in parallel to the conversation deletion one, causing random issues in some systems like the latter returning a 404 instead of proceeding with the deletion. This fix removes the route change on deletion. The new behavior will implicitly redirect to the "not-found" page since the session does not exist any more. The latter behavior is now aligned with the "Leave conversation" action which also redirects to "not-found" page. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue')
0 files changed, 0 insertions, 0 deletions