Add option to disable homeserver SSL verification

This commit is contained in:
Tulir Asokan
2018-03-07 21:18:44 +02:00
parent 30768d0a06
commit 6ff89d1fe4
4 changed files with 11 additions and 3 deletions
+2
View File
@@ -183,6 +183,8 @@ class Config(DictWithRecursion):
"Use inline images instead of m.image to make rich captions possible.\n"
"N.B. Inline images are not supported on all clients (e.g. Riot iOS).")
self.comment_newline("bridge.inline_images")
if "homeserver.verify_ssl" not in self:
self["homeserver.verify_ssl"] = True
self["version"] = 2
return self["version"]