get new messages when reconnecting

pull/1/head
ansuz 2017-08-03 15:06:06 +02:00
parent 52854c5a8e
commit fb13e656b7
1 changed files with 1 additions and 0 deletions
www/contacts

View File

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