germanescobar/mokai — Issue #21: Refactor Message class
Author: germanescobar
Created: 2011-12-10 20:55:51+00:00
State: open
Labels: Core, Improvement

Remove `account`, `body`, `type`, `sourceType` and `destinationType` attributes. Instead of using attributes for source, destination, direction and reference, make use of the properties mechanism and create a naming convention: all properties that start with MK_ belong to Mokai including MK_SOURCE, MK_DESTINATION, MK_DIRECTION and MK_REFERENCE.