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:
parent
f78cb8c23b
commit
0b0467f019
1 changed files with 0 additions and 1 deletions
|
@ -226,7 +226,6 @@ export function formatMessage(msg) {
|
||||||
s += " " + last;
|
s += " " + last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
s += "\r\n";
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue