SearchResults: remove dead code (#4639)
Nachtalb put some infra in place that was never actually working. It errors out when a user clicks on a message. Remove the offending code, but keep it all in place so that we can improve on it.
This commit is contained in:
parent
0fa203569a
commit
53f6041f42
@ -236,20 +236,6 @@ export default defineComponent({
|
||||
// TODO: Implement jumping to messages!
|
||||
// This is difficult because it means client will need to handle a potentially nonlinear message set
|
||||
// (loading IntersectionObserver both before AND after the messages)
|
||||
router
|
||||
.push({
|
||||
name: "MessageList",
|
||||
params: {
|
||||
id: channel.value?.id,
|
||||
},
|
||||
query: {
|
||||
focused: id,
|
||||
},
|
||||
})
|
||||
.catch((e) => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(`Failed to navigate to message ${id}`, e);
|
||||
});
|
||||
};
|
||||
|
||||
watch(
|
||||
|
Loading…
Reference in New Issue
Block a user