1// Haven's chat relay, adapted: this relay already has members and a NIP-292// group, so chat is the members-only group. Members write, members read, and3// the kinds are gift wraps for private messages, group chat messages and4// threads, comments, reactions and profiles. Join, leave and moderation events5// are not subject to kind rules.6{7 "$schema": "https://bind.ws/relay-config.schema.json",8 "format": "bind.ws/relay-config/2",9 "template": {10 "title": "Chat",11 "about": "Members write, members read. Private messages and the group's chat, kept forever. The directory is hidden."12 },13 "policy": {14 "writes": "allowlist",15 "reads": "members",16 "directoryPublic": false17 },18 "kinds": {19 "allow": [20 0,21 7,22 9,23 11,24 1059,25 111126 ],27 "block": []28 },29 "retention": [],30 "connections": [31 {"template": "group", "visibility": "public"}32 ]33}