This commit is contained in:
Mark Nadal 2018-03-25 05:26:55 -07:00
parent 6464247d9c
commit 9ef86da07b

View File

@ -6,6 +6,7 @@ Gun.on('opt', function(ctx){
ctx.on('put', function(msg){
Gun.graph.is(msg.put, null, function(val, key, node, soul){
if(null !== val){ return }
// TODO: Refactor this to use `.off()`?
var tmp = ctx.graph[soul];
if(tmp){
delete tmp[key];