We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6784541 commit 328f774Copy full SHA for 328f774
src/user_groups_config.cpp
@@ -314,8 +314,8 @@ Napi::Value UserGroupsWrapper::setGroup(const Napi::CallbackInfo& info) {
314
obj.Get("joinedAtSeconds"), "UserGroupsWrapper::setGroup joinedAtSeconds")) {
315
group_info.joined_at = *joinedAtSeconds;
316
}
317
- // 1st Jan 2100. Probably an invalid timestamp.
318
- if (group_info.joined_at > 4099680000) {
+ // Probably an invalid timestamp.
+ if (group_info.joined_at > 9000000000) {
319
throw std::invalid_argument{"group.joined_at is too far in the future"};
320
321
0 commit comments