mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
Comment that the function blocks if there are no fresh messages
This commit is contained in:
@@ -1281,6 +1281,8 @@ dc_array_t* dc_get_fresh_msgs (dc_context_t* context);
|
|||||||
/**
|
/**
|
||||||
* Returns the ID of the fresh message of any chat.
|
* Returns the ID of the fresh message of any chat.
|
||||||
*
|
*
|
||||||
|
* If there is no such message, the function blocks until there is one.
|
||||||
|
*
|
||||||
* @memberof dc_context_t
|
* @memberof dc_context_t
|
||||||
* @param context The context object as returned from dc_context_new().
|
* @param context The context object as returned from dc_context_new().
|
||||||
* @return Message ID of the next fresh message. Returns 0 on error.
|
* @return Message ID of the next fresh message. Returns 0 on error.
|
||||||
|
|||||||
Reference in New Issue
Block a user