Saving Blocked Peer Status

这个提交包含在:
Sarah Jamie Lewis 2019-08-06 18:25:38 -07:00
父节点 f08af1289f
当前提交 f64d7ab1ed
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -151,7 +151,7 @@ func (ps *profileStore) eventHandler() {
ev := ps.queue.Next()
switch ev.EventType {
case event.BlockPeer:
contact, exists := ps.profile.GetContact(ev.Data["Onion"])
contact, exists := ps.profile.GetContact(ev.Data[event.RemotePeer])
if exists {
contact.Blocked = true
ps.save()