Skip to content

Commit

Permalink
修正漏れに対処
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Jul 16, 2024
1 parent 76cc202 commit 7774442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sora/Signaling.swift
Original file line number Diff line number Diff line change
Expand Up @@ -814,8 +814,8 @@ extension SignalingConnect: Codable {
try metadata.encode(to: metadataEnc)
}
// この if 分岐をせずに superEncoder を呼び出すと、`"signaling_notify_metadata": {}` が含まれてしまう
let notifyEnc = container.superEncoder(forKey: .signaling_notify_metadata)
if let notifyMetadata {
let notifyEnc = container.superEncoder(forKey: .signaling_notify_metadata)
try notifyMetadata.encode(to: notifyEnc)
}
try container.encodeIfPresent(multistreamEnabled,
Expand Down

0 comments on commit 7774442

Please sign in to comment.