Skip to content

Commit ed20ee1

Browse files
Fix - matrix connector proxy config (opsdroid#2035)
* Fix - matrix connector proxy config * FIx linting --------- Co-authored-by: Jacob Tomlinson <[email protected]>
1 parent e078548 commit ed20ee1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opsdroid/connector/matrix/connector.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import json
44
import logging
55
import re
6+
import os
67
from pathlib import Path
78
from urllib.parse import urlparse
89

@@ -194,6 +195,7 @@ async def connect(self):
194195
config=config,
195196
store_path=self.store_path if self._allow_encryption else "",
196197
device_id=self.device_id,
198+
proxy=os.environ.get("HTTPS_PROXY"),
197199
)
198200

199201
if self.access_token is not None:

0 commit comments

Comments
 (0)