forked from openprivacy/libricochet-go
Removing Erroneous SendMessage & Adding SupportChannelTypes Test
This commit is contained in:
parent
617ca019f8
commit
f6cc472c6e
|
@ -125,7 +125,6 @@ func (crc *ContactRequestChannel) OpenOutboundResult(err error, crm *Protocol_Da
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
crc.channel.SendMessage([]byte{})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// SendResponse sends a contact request status response to the requester.
|
// SendResponse sends a contact request status response to the requester.
|
||||||
|
|
|
@ -35,4 +35,9 @@ func TestInit(t *testing.T) {
|
||||||
} else {
|
} else {
|
||||||
t.Errorf("Failed to build handler: %v", err)
|
t.Errorf("Failed to build handler: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
types := ach.GetSupportedChannelTypes()
|
||||||
|
if len(types) != 1 {
|
||||||
|
t.Errorf("Expected only im.ricochet.auth.hidden-service to be supported instead got: %v", types)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue