Add plugin prof_get_nick_from_roster function
This commit is contained in:
@@ -138,6 +138,12 @@ Retrieve the users nickname in a chat room, when in a chat room window.
|
||||
*/
|
||||
char* prof_get_current_nick(void);
|
||||
|
||||
/**
|
||||
Retrieve the nickname for a given barejid if it is in the roster.
|
||||
@return the users nickname e.g. "eddie", or NULLL if the barejid is not in the roster.
|
||||
*/
|
||||
char* prof_get_nick_from_roster(const char *barejid);
|
||||
|
||||
/**
|
||||
Retrieve nicknames of all occupants in a chat room, when in a chat room window.
|
||||
@return nicknames of all occupants in the current room or an empty list if not in a chat room window.
|
||||
|
||||
Reference in New Issue
Block a user