get new messages when reconnecting

pull/1/head
ansuz 7 years ago
parent 52854c5a8e
commit fb13e656b7

@ -45,6 +45,7 @@ define([
Cryptpad.getProxy().on('reconnect', function () { Cryptpad.getProxy().on('reconnect', function () {
Cryptpad.findOKButton().click(); Cryptpad.findOKButton().click();
Cryptpad.enableMessaging(true); Cryptpad.enableMessaging(true);
Cryptpad.getLatestMessages();
}); });
Cryptpad.initMessaging(Cryptpad, $list, $messages); Cryptpad.initMessaging(Cryptpad, $list, $messages);

Loading…
Cancel
Save