Open JadedCtrl opened 3 years ago
If a "chat_id" isn't specified, the message could be posted to the account buffer (#38).
This commented idea is done with a26c33e5f3053af174591b21e69d975cc641f8b7, but "good" and "bad" associations might still be useful.
Currently, IM_MESSAGE_RECEIVED without a user_id is used for sending system messages from the protocol to Cardie― an extra message, IM_SYS_MESSAGE_RECEIVED would be more Semantic and allow for easy support of some nice tweaks.
E.g., the prepending of asterisks in the message should be done automatically, the message ought to be able to ascribe positivity or negativity ("good" message prints blue, "bad" red, etc.), and these messages should not be logged.