Saving Blocked Peer Status

Bu işleme şunda yer alıyor:
Sarah Jamie Lewis 2019-08-06 18:25:38 -07:00
ebeveyn f08af1289f
işleme f64d7ab1ed
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme

Dosyayı Görüntüle

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