Messages creation and handling

Issue #32 resolved
Pierre-André Amaudruz created an issue

As Stefan provided a "family" message button display on the web, ie: one button per file.log in the DataDir and did create a "chat" family for the new Chat page, I did apply some modification to the way the msg are created by specifying not only the user but the family name. 1) This is necessary as the odbedit -c msg was sending the messages to chat by default and polluting the chat page. 2) The odbedit -help did specify a family option but it was not implemented.

For deap I have now: msg [user] [family] <msg> - compose user message and send it to family Defaut family: chat -c msg [family] <msg> - command mode: compose user message Default user : script Default family: Script

From the odbedit prompt, you can choose to send to a different family. The user is required in any case at the prompt. Once the user is known, the last family will be used as default.

For the command line, the "use to be " user name is in fact the family name. The user is fixed at "script".

I will commit to develop soon. The change is localized to odbedit.cxx

BTW: an initial complain about the multi-messages log files is that you have to go back and forth between logs to correlate the messages between different message sources!

Comments (1)

  1. Log in to comment