Added roster command

This commit is contained in:
James Booth
2012-02-09 02:47:25 +00:00
parent bdf5e483c6
commit f5013914ef
5 changed files with 87 additions and 6 deletions

5
app.c
View File

@@ -96,6 +96,11 @@ static void main_event_loop(void)
cons_help();
inp_clear();
// /who -> request roster
} else if (strncmp(command, "/who", 4) == 0) {
jabber_roster_request();
inp_clear();
// /close -> close the current chat window, if in chat
} else if (strncmp(command, "/close", 6) == 0) {
if (in_chat()) {