lib/irc: drop CRLF for outgoing messages
Trailing CRLF must not be included in WebSocket messages. Closes: https://todo.sr.ht/~emersion/gamja/104
This commit is contained in:
@@ -226,7 +226,6 @@ export function formatMessage(msg) {
|
|||||||
s += " " + last;
|
s += " " + last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
s += "\r\n";
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user