docs: fix C API documentation
Some checks failed
CI / Check spelling (pull_request) Successful in 45s
CI / Test C API Documentation Generation (pull_request) Successful in 1m20s
CI / Check coding style (pull_request) Successful in 1m29s
CI / Test Python API Documentation Generation (pull_request) Failing after 1m24s
CI / Linux (ubuntu) (pull_request) Has been cancelled
CI / Linux (debian) (pull_request) Has been cancelled
CI / Linux (arch) (pull_request) Has been cancelled

`barejid` parameter was used instead of the intended `roomjid`, leading to warnings during compilation.
This commit is contained in:
2025-09-10 19:35:21 +02:00
parent 3ffeda1531
commit e998d5e7ef

View File

@@ -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