assign new messageCallback when subbing

This commit is contained in:
Kyle Spearrin 2019-07-22 09:21:00 -04:00
parent c2108fdda0
commit d73bf6d225

View file

@ -36,9 +36,12 @@ namespace Bit.App.Services
{
if(_subscribers.ContainsKey(id))
{
return;
_subscribers[id] = messageCallback;
}
else
{
_subscribers.Add(id, messageCallback);
}
_subscribers.Add(id, messageCallback);
}
}