tokenly / tokenly-cms

GNU General Public License v2.0
42 stars 12 forks source link

archive or delete private messages #26

Open cryptonaut420 opened 9 years ago

cryptonaut420 commented 9 years ago

I dont think we want the ability to full on delete private messages (it would delete for both users, which could lead to some not good situations). Instead a compromise could be to let messages be archived, so it just moves them out of their inbox

another alternative... could have a delete option, but actually just flags the message to be totally hidden from them (the user that did the "delete"). If both recipients on each end "delete" the message, then it deletes for real in the database (no point in keeping it at that point).

cryptonaut420 commented 9 years ago

no, it wouldnt. unlink() is a function for deleting a file. this issue is in regards to messages stored in the MySQL database