Merge pull request #1098 from AStove/FixReconnectTotp

Fix reconnect issue introduced after TOTP changes
use-minification
Lorenz Hübschle-Schneider 6 years ago committed by GitHub
commit e8bc47b4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      js/connection.js

@ -337,7 +337,7 @@ weechat.factory('connection',
$log.info('Attempting to reconnect...'); $log.info('Attempting to reconnect...');
var d = connectionData; var d = connectionData;
connect(d[0], d[1], d[2], d[3], d[4], false, "", function() { connect(d[0], d[1], d[2], d[3], d[4], false, "", d[5], function() {
$rootScope.reconnecting = false; $rootScope.reconnecting = false;
// on success, update active buffer // on success, update active buffer
models.setActiveBuffer(bufferId); models.setActiveBuffer(bufferId);

Loading…
Cancel
Save