diff --git a/channels/contactrequestchannel.go b/channels/contactrequestchannel.go index d358ccc..6249558 100644 --- a/channels/contactrequestchannel.go +++ b/channels/contactrequestchannel.go @@ -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. diff --git a/connection/autoconnectionhandler_test.go b/connection/autoconnectionhandler_test.go index 572c2b5..41f8996 100644 --- a/connection/autoconnectionhandler_test.go +++ b/connection/autoconnectionhandler_test.go @@ -35,4 +35,9 @@ func TestInit(t *testing.T) { } else { 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) + } }