Parse data form for room configuration

This commit is contained in:
James Booth
2014-09-04 23:15:51 +01:00
parent 763356464a
commit 5e1023dfd9
5 changed files with 50 additions and 11 deletions

View File

@@ -463,6 +463,23 @@ handle_room_destroy(const char * const room)
ui_room_destroyed(room);
}
void
handle_room_configure(const char * const room, DataForm *form)
{
cons_show("Recieved configuration form for %s", room);
if (form->form_type != NULL) {
cons_show("Form type: %s", form->form_type);
} else {
cons_show("No form type specified");
}
}
void
handle_room_configuration_form_error(void)
{
cons_show("Error parsing room configuration form.");
}
void
handle_room_roster_complete(const char * const room)
{