Files
thelounge/client/js/socket-events/mentions.ts
Max Leiter eb75c4b77c chore: refactor Mentions, add isIgnoredUser util (#5051)
- Mentions were doing a bunch of mutations; not just uses derived state
- no need for a separate `ClientMention` 
- added `extractInputHistory` for shared logic
- tests made by claude
2026-04-11 07:59:14 -07:00

7 lines
147 B
TypeScript

import socket from "../socket";
import {store} from "../store";
socket.on("mentions:list", function (data) {
store.commit("mentions", data);
});