added new hooks for rendering help messages in composer, removed markdown text from translation

This commit is contained in:
Julian Lam
2014-02-27 14:05:31 -05:00
parent 1a85d45567
commit 44ac7ec262
5 changed files with 17 additions and 4 deletions

View File

@@ -68,7 +68,11 @@ SocketModules.composer.editCheck = function(socket, pid, callback) {
SocketModules.composer.renderPreview = function(socket, content, callback) {
plugins.fireHook('filter:post.parse', content, callback);
}
};
SocketModules.composer.renderHelp = function(socket, data, callback) {
plugins.fireHook('filter:composer.help', '', callback);
};
/* Chat */