Commits

Patrick Samson committed 8d664de

Fixed issue #8

  • Participants
  • Parent commits f388a41

Comments (0)

Files changed (1)

                 break
         else:
             archived = True
-        # look for the more recent received message, if any
+        # look for the more recent received message (and non-deleted to comply with the future perms() control), if any
         for m in reversed(msgs):
-            if m.recipient == user:
+            if m.recipient == user and not m.recipient_deleted_at:
                 received = m
                 break
         else: