Bug 907652 - Implemented a warning about dircard the current message to open a new one

Bug 907652 - Implemented a warning about dircard the current message to open a new one

Bug 907652 - Some review comments fixed

Bug 907652 - WIP Start the development of Unit Test cases

Bug 907652 - Unit Tests implemented

Bug 907652 - Unit Test fixed