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

@@ -55,6 +55,7 @@
#include "plugins/disco.h"
#include "ui/ui.h"
#include "ui/window_list.h"
#include "xmpp/roster_list.h"
void
api_cons_alert(void)
@@ -239,6 +240,12 @@ api_get_current_nick(void)
}
}
char*
api_get_nick_from_roster(const char* barejid)
{
return roster_get_display_name(barejid);
}
char**
api_get_current_occupants(void)
{