Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3514046
D14156.id46451.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
708 B
Referenced Files
None
Subscribers
None
D14156.id46451.diff
View Options
diff --git a/lib/hooks/thread-time.js b/lib/hooks/thread-time.js
--- a/lib/hooks/thread-time.js
+++ b/lib/hooks/thread-time.js
@@ -81,9 +81,10 @@
// (newest first) to chain together lastUpdatedTime. An older message's
// lastUpdatedTime is only considered if all of the newer messages
// return falsey.
+ const prevLastUpdatedTime = lastUpdatedTime;
lastUpdatedTime = async () => {
- if (lastUpdatedTime) {
- const earlierChecks = await lastUpdatedTime();
+ if (prevLastUpdatedTime) {
+ const earlierChecks = await prevLastUpdatedTime();
if (earlierChecks) {
return earlierChecks;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 3:11 AM (18 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2692011
Default Alt Text
D14156.id46451.diff (708 B)
Attached To
Mode
D14156: [lib] Fix stack overflow from lastUpdatedTime
Attached
Detach File
Event Timeline
Log In to Comment