mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Debug room vars
This commit is contained in:
parent
5e1023dfd9
commit
c133b89313
@ -472,6 +472,17 @@ handle_room_configure(const char * const room, DataForm *form)
|
|||||||
} else {
|
} else {
|
||||||
cons_show("No form type specified");
|
cons_show("No form type specified");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GSList *fields = form->fields;
|
||||||
|
GSList *curr = fields;
|
||||||
|
while (curr != NULL) {
|
||||||
|
FormField *field = curr->data;
|
||||||
|
if (field->var != NULL) {
|
||||||
|
cons_show(" Field: %s", field->var);
|
||||||
|
}
|
||||||
|
|
||||||
|
curr = g_slist_next(curr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user