Migrate friends

This commit is contained in:
yflory
2019-06-04 18:44:55 +02:00
parent 38c3ca9f54
commit 6de97cac14
4 changed files with 130 additions and 4 deletions

View File

@@ -1649,7 +1649,7 @@ define([
state: (2 + (version / 10)),
progress: progress
});
});
}, store);
Store.initAnonRpc(null, null, waitFor());
Store.initRpc(null, null, waitFor());
}).nThen(function (waitFor) {

View File

@@ -65,7 +65,7 @@ proxy.mailboxes = {
};
// Send a message to someone else
var sendTo = function (ctx, type, msg, user, cb) {
var sendTo = Mailbox.sendTo = function (ctx, type, msg, user, cb) {
if (!Crypto.Mailbox) {
return void cb({error: "chainpad-crypto is outdated and doesn't support mailboxes."});
}