Browse Source

[Doc] Improve task:get_message_id() description

tags/2.6
Anton Yuzhaninov 3 years ago
parent
commit
72f0f0ddd3
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      src/lua/lua_task.c

+ 4
- 2
src/lua/lua_task.c View File

@@ -774,8 +774,10 @@ end
LUA_FUNCTION_DEF (task, get_date);
/***
* @method task:get_message_id()
* Returns message id of the specified task
* @return {string} if of a message
* Returns message identifier from the `Message-ID` header. Angle brackets (`<>`)
* are stripped off if present. If a Message-ID header is missing `undef` is
* returned.
* @return {string} ID of the message
*/
LUA_FUNCTION_DEF (task, get_message_id);
/***

Loading…
Cancel
Save