Commit f2f4f03e50b07dcd6c2d3fd4c04e50f37da68fb9
1 parent
6f6de02480
Exists in
master
passing config ke matrix-util
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
adaptor-xmpp.js
... | ... | @@ -83,13 +83,13 @@ function setOptions(options) { |
83 | 83 | if (options.config) { |
84 | 84 | config = options.config; |
85 | 85 | } |
86 | - | |
86 | + | |
87 | 87 | if (!options.matrix) { |
88 | 88 | return; |
89 | 89 | } |
90 | 90 | |
91 | 91 | matrix = options.matrix; |
92 | - matrixUtil = new MatrixUtil({matrix: matrix, logger: logger}); | |
92 | + matrixUtil = new MatrixUtil({matrix: matrix, logger: logger, config: config}); | |
93 | 93 | } |
94 | 94 | |
95 | 95 | function sendMessage(destination, msg) { |