From 008b5a3e9fcea6ef89021af8f140388acfd85230 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 27 Nov 2018 16:57:55 +0100 Subject: [PATCH] Fix an ownership issue in friend channels --- www/common/common-messenger.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/common-messenger.js b/www/common/common-messenger.js index 65fa0ba82..081cd311f 100644 --- a/www/common/common-messenger.js +++ b/www/common/common-messenger.js @@ -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];