Skip to content

Commit 9d2929c

Browse files
committed
Fix build error
1 parent 2f585fd commit 9d2929c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/MultipeerKit/Internal API/MultipeerConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ extension MultipeerConnection: MCNearbyServiceAdvertiserDelegate {
218218
guard let peer = discoveredPeers[peerID] else { return }
219219

220220
configuration.security.invitationHandler(peer, context, { decision in
221-
invitationHandler(decision, decision ? session : nil)
221+
invitationHandler(decision, decision ? self.session : nil)
222222
})
223223
}
224224

0 commit comments

Comments
 (0)