Page MenuHomePhabricator

D13712.diff
No OneTemporary

D13712.diff

diff --git a/lib/push/crypto.js b/lib/push/crypto.js
--- a/lib/push/crypto.js
+++ b/lib/push/crypto.js
@@ -52,7 +52,7 @@
return {
resultPayload: unencryptedPayload,
payloadSizeExceeded: payloadSizeValidator
- ? payloadSizeValidator(unencryptedPayload)
+ ? !payloadSizeValidator(unencryptedPayload)
: false,
};
}
@@ -95,7 +95,7 @@
return {
resultPayload,
payloadSizeExceeded: payloadSizeValidator
- ? payloadSizeValidator(resultPayload)
+ ? !payloadSizeValidator(resultPayload)
: false,
};
}
@@ -196,7 +196,7 @@
return {
notification: unencryptedNotification,
payloadSizeExceeded: notificationSizeValidator
- ? notificationSizeValidator(unencryptedNotification)
+ ? !notificationSizeValidator(unencryptedNotification)
: false,
};
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 7:41 PM (16 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2564397
Default Alt Text
D13712.diff (898 B)

Event Timeline