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 提交者 Gogs
當前提交 2d72272127
共有 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()