Fix unfriend bug

pull/1/head
yflory 6 years ago
parent 6de97cac14
commit 592544819e

@ -612,6 +612,15 @@ define([
cb();
});
});
} else {
removeFromFriendList(curvePublic, function () {
delete channels[channel.id];
emit('UNFRIEND', {
curvePublic: curvePublic,
fromMe: true
});
cb();
});
}
channel.wc.bcast(cryptMsg).then(function () {}, function (err) {
console.error(err);

Loading…
Cancel
Save