Fix regressions around media uploads failing and causing soft crashes (#9549)
This commit is contained in:
+2
-2
@@ -161,8 +161,8 @@ export const Notifier = {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!content.url) {
|
||||
logger.warn(`${roomId} has custom notification sound event, but no url key`);
|
||||
if (typeof content.url !== "string") {
|
||||
logger.warn(`${roomId} has custom notification sound event, but no url string`);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user