Add plugin prof_get_nick_from_roster function

This commit is contained in:
Dustin Lagoy
2021-04-28 09:17:02 -04:00
parent 4a94c051a4
commit ed4d2fcfb2
10 changed files with 80 additions and 0 deletions

View File

@@ -195,6 +195,12 @@ c_api_get_current_nick(void)
return api_get_current_nick();
}
static char*
c_api_get_nick_from_roster(const char* barejid)
{
return api_get_nick_from_roster(barejid);
}
static char**
c_api_get_current_occupants(void)
{
@@ -483,6 +489,7 @@ c_api_init(void)
prof_get_current_muc = c_api_get_current_muc;
prof_current_win_is_console = c_api_current_win_is_console;
prof_get_current_nick = c_api_get_current_nick;
prof_get_nick_from_roster = c_api_get_nick_from_roster;
prof_get_current_occupants = c_api_get_current_occupants;
prof_get_room_nick = c_api_get_room_nick;
prof_log_debug = c_api_log_debug;