diff --git a/protocol/messenger_contacts.go b/protocol/messenger_contacts.go index cab3069a7..1eed11cf7 100644 --- a/protocol/messenger_contacts.go +++ b/protocol/messenger_contacts.go @@ -857,6 +857,10 @@ func (m *Messenger) DismissLatestContactRequestForContact(ctx context.Context, r return nil, err } + if contactRequestID == "" { + contactRequestID = defaultContactRequestID(request.ID.String()) + } + return m.DismissContactRequest(ctx, &requests.DismissContactRequest{ID: types.Hex2Bytes(contactRequestID)}) }