Skip to content

Commit

Permalink
Implement persistent server settings (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibo authored Jul 13, 2020
1 parent 2db4e26 commit 393fa47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/client-rooms.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
buf += '<p><button name="joinRoomPopup" class="button">Join other room</button></p></div>';
this.$el.html(buf);
app.on('response:rooms', this.update, this);
var settings = Dex.prefs('serversettings');
if (settings) app.send('/updatesettings ' + JSON.stringify(settings));
app.send('/cmd rooms');
app.user.on('change:named', this.updateUser, this);
this.update();
Expand Down

0 comments on commit 393fa47

Please sign in to comment.