diff options
Diffstat (limited to 'src/init.js')
-rw-r--r-- | src/init.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/init.js b/src/init.js index c92b366f7..532008c54 100644 --- a/src/init.js +++ b/src/init.js @@ -32,12 +32,13 @@ if (!window.OCA.Talk) { /** * Frontend message API for adding actions to talk messages. + * * @param {*} Object the wrapping object. - * @param {String} label the action label. + * @param {string} label the action label. * @param {Function} callback the callback function. This function will receive * the messageAPIData object as a parameter and be triggered by a click on the * action. - * @param {String} icon the action label. E.g. "icon-reply" + * @param {string} icon the action label. E.g. "icon-reply" */ window.OCA.Talk.registerMessageAction = ({ label, callback, icon }) => { const messageAction = { |