Change nick to name in api to match convention

Change all instances of *get_nick_from_roster to *get_name_from_roster
to match the convention of names in the roster itself.
This commit is contained in:
Dustin Lagoy
2021-04-28 09:32:20 -04:00
parent ed4d2fcfb2
commit 802442fffc
8 changed files with 14 additions and 14 deletions

View File

@@ -196,9 +196,9 @@ c_api_get_current_nick(void)
}
static char*
c_api_get_nick_from_roster(const char* barejid)
c_api_get_name_from_roster(const char* barejid)
{
return api_get_nick_from_roster(barejid);
return api_get_name_from_roster(barejid);
}
static char**
@@ -489,7 +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_name_from_roster = c_api_get_name_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;