Fix invitationCreateHelper.go to use the correct name parameter
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc 2024-03-31 18:36:51 +02:00
parent 54c36c68ad
commit 3bf75eb990

View File

@ -22,7 +22,7 @@ func InvitationCreatePeer(name string, myNickname string, invitationMessage stri
} }
// build my contact card for that friend // build my contact card for that friend
peer, err := client.GetConfig().GetIdentity().InvitePeer(mynick, myNickname, serverUids, invitationMessage) peer, err := client.GetConfig().GetIdentity().InvitePeer(mynick, name, serverUids, invitationMessage)
if err != nil { if err != nil {
return nil, "InvitationCreate: InvitePeer", err return nil, "InvitationCreate: InvitePeer", err
} }