Fix user context menus in in search results view

This commit is contained in:
Nachtalb 2021-04-12 23:40:29 +02:00
parent d6a23061fc
commit 40aaa17c9b
No known key found for this signature in database
GPG Key ID: E48DF13C07055D92

View File

@ -163,11 +163,17 @@ export default {
});
}
},
chan() {
this.setActiveChannel();
},
},
mounted() {
this.doSearch();
},
methods: {
setActiveChannel() {
this.$store.commit("activeChannel", this.chan);
},
shouldDisplayDateMarker(message, id) {
const previousMessage = this.messages[id - 1];