Fix the client-peg clean up to match the changes vector has made to the sdk
This commit is contained in:
parent
d8494ff89b
commit
28022534f7
3 changed files with 8 additions and 4 deletions
|
@ -49,6 +49,10 @@ module.exports = {
|
|||
return matrixClient;
|
||||
},
|
||||
|
||||
unset: function() {
|
||||
matrixClient = null;
|
||||
},
|
||||
|
||||
replaceUsingUrls: function(hs_url, is_url) {
|
||||
matrixClient = Matrix.createClient({
|
||||
baseUrl: hs_url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue