Skip to content

Commit 6dd461e

Browse files
committed
[Launcher] fix: don't return error when inviting a player that's offline
1 parent 12f33b1 commit 6dd461e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

API/internal/rpc/party.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func (s *PartyService) InvitePlayer(ctx context.Context, req *pbapi.InvitePlayer
210210
}
211211

212212
if inviteeSession == nil {
213-
return nil, status.Error(codes.NotFound, "Player is offline")
213+
return &pbcommon.Empty{}, nil
214214
}
215215

216216
var party *models.PartyModel

0 commit comments

Comments
 (0)