mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-20 09:50:28 +00:00
be friendly to people using websocat to debug.
This commit is contained in:
@ -63,6 +63,9 @@ void RelayServer::runIngester(ThreadPool<MsgIngester>::Thread &thr) {
|
||||
} else {
|
||||
throw herr("unrecognised yesstr request");
|
||||
}
|
||||
} else if (msg->payload == "\n") {
|
||||
// Do nothing.
|
||||
// This is for when someone is just sending newlines on websocat for debugging purposes.
|
||||
} else {
|
||||
throw herr("unparseable message");
|
||||
}
|
||||
|
Reference in New Issue
Block a user