mirror of
https://github.com/thelounge/thelounge.git
synced 2026-04-22 23:09:45 -04:00
- 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
7 lines
147 B
TypeScript
7 lines
147 B
TypeScript
import socket from "../socket";
|
|
import {store} from "../store";
|
|
|
|
socket.on("mentions:list", function (data) {
|
|
store.commit("mentions", data);
|
|
});
|