# HG changeset patch # User Mikael Berthe # Date 1203272886 -3600 # Node ID 3cd104b41f26ea1303bf5ba15e4f1ce81c38a85f # Parent 0b8701386bdec1a7c08d8561298b22e2f8e93cad Add "/status message" (to only change the status description string) (Also works for /status_to) diff -r 0b8701386bde -r 3cd104b41f26 mcabber/src/commands.c --- a/mcabber/src/commands.c Sun Feb 17 19:15:50 2008 +0100 +++ b/mcabber/src/commands.c Sun Feb 17 19:28:06 2008 +0100 @@ -167,6 +167,7 @@ compl_add_category_word(COMPL_STATUS, "notavail"); compl_add_category_word(COMPL_STATUS, "away"); compl_add_category_word(COMPL_STATUS, "offline"); + compl_add_category_word(COMPL_STATUS, "message"); // Roster category compl_add_category_word(COMPL_ROSTER, "bottom"); @@ -816,6 +817,7 @@ else if (!strcasecmp(status, IMSTATUS_DONOTDISTURB)) st = dontdisturb; else if (!strcasecmp(status, IMSTATUS_NOTAVAILABLE)) st = notavail; else if (!strcasecmp(status, IMSTATUS_FREE4CHAT)) st = freeforchat; + else if (!strcasecmp(status, "message")) st = jb_getstatus(); else { scr_LogPrint(LPRINT_NORMAL, "Unrecognized status!"); free_arg_lst(paramlst);