diff --git a/README.md b/README.md index f5238ee..c84caf8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ strfry is a relay for the [nostr protocol](https://github.com/nostr-protocol/nostr) -* Supports most applicable NIPs: 1, 2, 4, 9, 11, 22, 28, 40, 70 +* Supports most applicable NIPs: 1, 2, 4, 9, 11, 22, 28, 40, 70, 77 * No external database required: All data is stored locally on the filesystem in LMDB * Hot reloading of config file: No server restart needed for many config param changes * Zero downtime restarts, for upgrading binary without impacting users diff --git a/src/apps/relay/RelayWebsocket.cpp b/src/apps/relay/RelayWebsocket.cpp index ecdaa93..d28e5bf 100644 --- a/src/apps/relay/RelayWebsocket.cpp +++ b/src/apps/relay/RelayWebsocket.cpp @@ -48,7 +48,7 @@ void RelayServer::runWebsocket(ThreadPool::Thread &thr) { tempBuf.reserve(cfg().events__maxEventSize + MAX_SUBID_SIZE + 100); - tao::json::value supportedNips = tao::json::value::array({ 1, 2, 4, 9, 11, 22, 28, 40, 70 }); + tao::json::value supportedNips = tao::json::value::array({ 1, 2, 4, 9, 11, 22, 28, 40, 70, 77 }); auto getServerInfoHttpResponse = [&supportedNips, ver = uint64_t(0), rendered = std::string("")]() mutable { if (ver != cfg().version()) {