Skip to content

Commit

Permalink
対象とするメールの条件の間違いを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
oka4shi committed Jan 29, 2024
1 parent 3c6f1e5 commit f7f6874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gas/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function main() {
const from = message.getFrom();

if (
from.includes(myEmail) &&
!from.includes(myEmail) &&
now.getTime() - date.getTime() < 1000 * 60 * 60 * 12 &&
!pastMails.includes(id)
) {
Expand Down

0 comments on commit f7f6874

Please sign in to comment.