remove XXX

This commit is contained in:
ansuz 2019-12-18 18:00:27 -05:00
parent 167a846cf3
commit ea7d254d2f

View File

@ -1270,7 +1270,6 @@ define([
ctx.store.messenger.openTeamChat(team.getChatData(), onUpdate, cId, cb); ctx.store.messenger.openTeamChat(team.getChatData(), onUpdate, cId, cb);
}; };
// XXX ansuz
var createInviteLink = function (ctx, data, cId, _cb) { var createInviteLink = function (ctx, data, cId, _cb) {
var cb = Util.mkAsync(Util.once(_cb)); var cb = Util.mkAsync(Util.once(_cb));
@ -1405,14 +1404,8 @@ define([
curvePublic: ephemeralKeys.curvePublic, curvePublic: ephemeralKeys.curvePublic,
displayName: data.name, displayName: data.name,
pending: true, pending: true,
inviteChannel: inviteKeys.channel, // XXX keep this channel pinned until the invite is accepted inviteChannel: inviteKeys.channel,
previewChannel: previewKeys.channel, // XXX keep this channel pinned until the invite is accepted previewChannel: previewKeys.channel,
// XXX encrypt the following data for your own curvePublic
// XXX and implement UI for interacting with it
// remind yourself of the password used
// bypass scrypt with bytes64 to revover other keys
// { password, bytes64, hash}
} }
}, w(function (err) { }, w(function (err) {
if (err) { if (err) {