Fix the client-peg clean up to match the changes vector has made to the sdk

This commit is contained in:
Mark Haines 2015-07-20 14:19:13 +01:00
parent d8494ff89b
commit 28022534f7
3 changed files with 8 additions and 4 deletions

View file

@ -49,6 +49,10 @@ module.exports = {
return matrixClient;
},
unset: function() {
matrixClient = null;
},
replaceUsingUrls: function(hs_url, is_url) {
matrixClient = Matrix.createClient({
baseUrl: hs_url,