leesj-dev / classroom-notifier

Classroom Notifier aims to send automated notification emails when any post in a Google Classroom is edited or deleted.
1 stars 0 forks source link

Cannot detect edited post if editing & removal occurs simultaneously #3

Open leesj-dev opened 2 years ago

leesj-dev commented 2 years ago

The code cannot detect edited post(s) when there are both edited posts and removed posts during one cycle. Although it is logically impossible to perfectly detect which post is edited and which is deleted if len(pdict_before) > len(pdict_after), there should be some algorithm to compare the initial upload date, uploader, etc.