Fix an ownership issue in friend channels

pull/1/head
yflory 6 years ago
parent ca45ff31d1
commit 008b5a3e9f

@ -405,9 +405,10 @@ define([
return;
}
var friend = getFriendFromChannel(chan.id) || {};
var cfg = {
validateKey: keys ? keys.validateKey : undefined,
owners: [proxy.edPublic, data.edPublic],
owners: [proxy.edPublic, friend.edPublic],
lastKnownHash: data.lastKnownHash
};
var msg = ['GET_HISTORY', chan.id, cfg];

Loading…
Cancel
Save