########################################################################################## LOC-16: Add "verb" to message payload ########################################################################################## Issue Type: Improvement ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Done (2018-05-15 09:17:32) Project: LocalChat (LOC) Reported By: btasker Assigned To: btasker Components: - Client - Server Targeted for fix in version: - V0.0.2 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== Currently, the message payload sent to sendMsg is a JSON string with a single attribue - text I want to add a new attribute verb. The default value will be say which indicates a standard message. With this in place, we can then add functionality into the client like being able to enter /me hides and have Ben hides printed in the group as an action rather than as something someone's said (maybe do as the verb?). It also means that messages from SYSTEM will be able to assign severities to messages it pushes into a group ( info,warn,error etc) so that the client can colour/highlight them appropriately. ----------------------------------------------------------------------------------------- Issue Relations ================ - blocks LOC-20: Re-Key Support ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2018-05-15 08:58:35 git ----------------------------------------------------------------------------------------- -- BEGIN QUOTE -- Repo: LocalChat Host:Rimmer commit 77c6c401111142be4e05a7d7fef2547b39c91df0 Author: B Tasker