pm_index should have column to indicate read status
nbz - July 21, 2008 - 21:29
| Project: | Privatemsg |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This is vital and probably on your todo list, but it is best to document it somewhere.
There needs to be a way to tell whether a message has been read or not. Probably can be done via a column in pm_index with a boolean value.

#1
very good :)
#2
This should do the trick: http://drupal.org/cvs?commit=129975
#3
Expanding on this idea, is there a chance that in the future at some point we will want drafts? If so, maybe rename the field to status, have 0 = draft, 1 = read, 2 = unread.
Or totally ignore that idea as crack.
#4
i did consider having it as 'status' but then i thought that it may become too confusing if one field means many things.
= 1 : new
= 0 : read
= 2 : draft
= 3 : marked for deletion
= 4 : locked (ie cant delete or anything)
= 5 : archived
etc
etc
etc.
in the long run this becomes too confusing. for now i decided to have just one field for very specific purpose. will expand on it as need arise.
#5
Automatically closed -- issue fixed for two weeks with no activity.