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.

Comments

litwol’s picture

Assigned: Unassigned » litwol
Priority: Normal » Critical
Status: Active » Needs work

very good :)

litwol’s picture

Version: 6.x-1.x-dev »
Assigned: litwol » Unassigned
Priority: Critical » Normal
Status: Needs work » Fixed

This should do the trick: http://drupal.org/cvs?commit=129975

naheemsays’s picture

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.

litwol’s picture

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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.