Merge branch 'topic'

This commit is contained in:
Reto Brunner 2024-09-29 14:46:21 +02:00
commit 3d33ef8083

View file

@ -211,7 +211,7 @@ export default defineComponent({
if (props.channel.topic !== newTopic) { if (props.channel.topic !== newTopic) {
const target = props.channel.id; const target = props.channel.id;
const text = `/raw TOPIC ${props.channel.name} :${newTopic}`; const text = `/topic ${newTopic}`;
socket.emit("input", {target, text}); socket.emit("input", {target, text});
} }
}; };