Merge branch 'tapir-peer' of cwtch.im/cwtch into master

This commit is contained in:
Sarah Jamie Lewis 2019-08-06 18:41:45 -07:00 committed by Gogs
commit 2d72272127
1 changed files with 1 additions and 1 deletions

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