afomera / MessageMe

tmsg - make group messaging better.
http://tmsg.io
0 stars 0 forks source link

Deleting a group when it has a scheduled message breaks #5

Closed afomera closed 7 years ago

afomera commented 8 years ago

If you delete a group when there is a scheduled message, it breaks.

nynhex commented 8 years ago

This is expected behavior because the scheduled message uses a group. If you delete the group and there are scheduled messages you have orphaned records which will definitely cause this to break.

Thought on this. When deleting the group you could also set it to delete the scheduled messages that are queued. This would solve the problem.

afomera commented 8 years ago

Well, here in lies a problem because if you delete a group when it has a scheduled message we'll loose the record of the scheduled message being sent, right?