Skip to content

Commit

Permalink
Merge pull request #14184 from nextcloud/backport/14174/stable30
Browse files Browse the repository at this point in the history
  • Loading branch information
Antreesy authored Jan 23, 2025
2 parents 65be2cb + acc1a03 commit 9f29bae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/MessagesList/MessagesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1220,9 +1220,8 @@ export default {
},

async onRouteChange({ from, to }) {
if (from.name === 'conversation'
&& to.name === 'conversation'
&& from.token === to.token
if (from.name === 'conversation' && to.name === 'conversation'
&& from.params.token === to.params.token
&& from.hash !== to.hash) {

// the hash changed, need to focus/highlight another message
Expand Down

0 comments on commit 9f29bae

Please sign in to comment.