Browse Source

Saving Blocked Peer Status

pull/263/head
Sarah Jamie Lewis 4 months ago
parent
commit
f64d7ab1ed
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      storage/profile_store.go

+ 1
- 1
storage/profile_store.go View File

@@ -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()

Loading…
Cancel
Save