Problem with deleted messages
-
I noticed a problem if my client has deleted a thread and I have not deleted the thread (as the administrator): if I post on that thread my client will never receive my message because they have deleted the thread. I have no way of knowing if they have deleted the thread. And also, if I have deleted their thread to me, and they continue to post on that thread, I will have no idea that they have more to discuss. I think what is needed is a method that will cancel out the _fep_delete_by_ key if a new post is made to that thread by the other participant even if the other participant has deleted the thread. If this is not done, serious problems can happen. For example, if a mental health provider deletes a thread and the patient continues writing about an issue that would warrant intervention, that could be a serious liability issue if the therapist is not aware of the additional information while the client presumes there is still an open thread for discussion. So there needs to be a way to revive the thread when one participant has deleted the thread and the other participant has not.
This also applies to my other feature request for administrators to be able to revive old threads if both deleted the thread but the issue has come back.
I am also reworking the webserver for OpenEMR to integrate with your program. I have completed all queries for import of messages and downloads and now I am working on the routine to delete posts or to clear them from the OpenEMR dashboard. Originally I was going to use the _fep_delete_by_ key but that clears the complete thread rather than individual posts. OpenEMR imports individual posts and their downloads. I am thinking of using another meta_key for OpenEMR of _fep_cleared_postID. I do not think this will interfere with your system at all. I think I will work it so if all posts in a thread are cleared then I will add _fep_delete_by_ for the thread. Please let me know if you see any potential conflicts in my adding this meta_key.
- The topic ‘Problem with deleted messages’ is closed to new replies.