Skip to content

Commit abce5da

Browse files
committed
Update notification read marking to use current time instead of last read time
1 parent f134c67 commit abce5da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

0pdd.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,8 @@
320320
end
321321
end
322322
"#{repo}: #{reason}"
323-
ensure
324-
gh.mark_notifications_as_read(last_read_at: n['last_read_at'])
325323
end
324+
gh.mark_notifications_as_read(last_read_at: Time.now)
326325
"#{msgs.join("\n")}\n"
327326
end
328327

0 commit comments

Comments
 (0)