Merge pull request #145 from Frostman/slack-support

Slack: Add title to the text itself and make it bold
This commit is contained in:
John Reese 2015-02-26 10:46:58 -08:00
commit 5ad308af54
1 changed files with 1 additions and 1 deletions

View File

@ -614,7 +614,7 @@ class CPushMod : public CModule
params["username"] = options["username"];
}
params["payload"] = expand("{\"channel\": \"{target}\", \"pretext\": \"{title}\", \"text\": \"{message}\"}", replace);
params["payload"] = expand("{\"channel\": \"{target}\", \"text\": \"*{title}*: {message}\"}", replace);
PutDebug("payload: " + params["payload"]);
}