From 190cd884b5ea3776ab14fb79e8c34abb71524dfa Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 15 Sep 2016 18:42:00 +0100 Subject: [PATCH] Add roomDirectory to sample config --- vector/config.sample.json | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/vector/config.sample.json b/vector/config.sample.json index 5b80ede382..25d558ad50 100644 --- a/vector/config.sample.json +++ b/vector/config.sample.json @@ -4,5 +4,27 @@ "brand": "Vector", "integrations_ui_url": "http://localhost:8081/", "integrations_rest_url": "http://localhost:5050", - "enableLabs": true + "enableLabs": true, + "roomDirectory": { + "networks": [ + "matrix:example_com", + "matrix:matrix_org", + "irc:mynetwork" + ], + "networkPatterns": { + "matrix:myserver": "#.*:example.com", + "matrix:matrix_org": "#.*:matrix.org", + "irc:mynetwork": "#mynetwork_.*:example.com" + }, + "networkNames": { + "matrix:matrix_org": "matrix.org", + "matrix:example_com": "example.com", + "irc:mynetwork": "My IRC Network" + }, + "networkIcons": { + "matrix:example_com": "//matrix.org/favicon.ico", + "matrix:matrix_org": "//matrix.org/favicon.ico", + "irc:mynetwork": "//matrix.org/_matrix/media/v1/download/matrix.org/DHLHpDDgWNNejFmrewvwEAHX" + } + } }