diff --git a/src/Poster.py b/src/Poster.py index a565e84..98641b0 100644 --- a/src/Poster.py +++ b/src/Poster.py @@ -55,6 +55,10 @@ class Poster(): # Get last notes for user notes = self.mk.get_user_notes(self.user.username) + + # User will post note if it's their first in a long time + if (not notes): + return True # New note is a DM to a user if (username): @@ -66,7 +70,7 @@ class Poster(): if (user_id in note["visibleUserIds"]): return self.note_is_older_than_cooldown(note) - # User will post a DM to username if its their first in a long time + # User will post a DM to username if its their first DM to this user in a long time return True # Get latest public notes from user notes (non-DMs)