diff --git a/src/apps/relay/RelayWebsocket.cpp b/src/apps/relay/RelayWebsocket.cpp index 0434fb1..1dd4aef 100644 --- a/src/apps/relay/RelayWebsocket.cpp +++ b/src/apps/relay/RelayWebsocket.cpp @@ -56,6 +56,11 @@ void RelayServer::runWebsocket(ThreadPool::Thread &thr) { { "supported_nips", supportedNips }, { "software", "git+https://github.com/hoytech/strfry.git" }, { "version", APP_GIT_VERSION }, + { "limitation", tao::json::value({ + { "max_message_length", cfg().relay__maxWebsocketPayloadSize }, + { "max_subscriptions", cfg().relay__maxSubsPerConnection }, + { "max_limit", cfg().relay__maxFilterLimit }, + }) }, }); if (cfg().relay__info__name.size()) nip11["name"] = cfg().relay__info__name;