mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 05:06:21 +00:00
docs: fix C API documentation
`barejid` parameter was used instead of the intended `roomjid`, leading to warnings during compilation.
This commit is contained in:
@@ -450,7 +450,7 @@ int prof_chat_show_themed(char *barejid, char *group, char *item, char *def, cha
|
||||
|
||||
/**
|
||||
Show a message in a chat room window.
|
||||
@param barejid Jabber ID of the room
|
||||
@param roomjid Jabber ID of the room
|
||||
@param message the message to print
|
||||
@return 1 on success, 0 on failure
|
||||
*/
|
||||
@@ -459,7 +459,7 @@ int prof_room_show(char *roomjid, char *message);
|
||||
/**
|
||||
Show a message in a chat room window, using the specified theme, and prefix character
|
||||
Themes are specified in ~/.local/share/profanity/plugin_themes
|
||||
@param barejid Jabber ID of the room
|
||||
@param roomjid Jabber ID of the room
|
||||
@param group the group name in the themes file or NULL
|
||||
@param item the item name within the group or NULL
|
||||
@param def default colour if the theme cannot be found
|
||||
|
||||
Reference in New Issue
Block a user