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 odevzdal Gogs
revize 2d72272127
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

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