mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Graceful fallback for unsupported body range type
This commit is contained in:
@@ -413,7 +413,7 @@ function rangeToPartialNode(
|
||||
if (range.style === BodyRange.Style.NONE) {
|
||||
return {};
|
||||
}
|
||||
throw missingCaseError(range.style);
|
||||
return {};
|
||||
}
|
||||
if (BodyRange.isLink(range)) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user