feat: fetch new suggestions when a message arrives

This commit is contained in:
Shivam Mishra
2023-07-10 15:04:29 +05:30
parent 5b1c89eabb
commit 19c3eab9c9
3 changed files with 4 additions and 0 deletions
@@ -313,6 +313,7 @@ export default {
created() {
bus.$on(BUS_EVENTS.SCROLL_TO_MESSAGE, this.onScrollToMessage);
bus.$on(BUS_EVENTS.FETCH_LABEL_SUGGESTIONS, this.fetchSuggestions);
bus.$on(BUS_EVENTS.SET_TWEET_REPLY, this.setSelectedTweet);
},