docs: fix C API documentation

`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