about summary refs log tree commit diff stats
path: root/.github
diff options
context:
space:
mode:
authorSteffen Jaeckel <jaeckel-floss@eyet-services.de>2023-04-03 15:54:33 +0200
committerSteffen Jaeckel <jaeckel-floss@eyet-services.de>2023-04-04 11:22:00 +0200
commit7271898541f217b24ce13010ca494c7b74d49ad6 (patch)
tree7d17ca5427bd0e3ded5ebbfe73ae48a2fa1b29e7 /.github
parent74415ae71d287d097a7adadea34cb8662735b530 (diff)
downloadprofani-tty-7271898541f217b24ce13010ca494c7b74d49ad6.tar.gz
fix display of a "list type" in a form if there's no value assigned yet
It is possible, that a server sends a form with a field as follows, which
has no (default) value assigned.

```
<field label="foo" type="list-single" var="bar">
  <option label="a"><value>a</value></option>
  <option label="b"><value>b</value></option>
  <option label="c"><value>c</value></option>
</field>
```

This patch fixes profanity to show that list. Before this patch
profanity showed nothing.

I stumbled over this while running the `/room config` command inside
a newly created muc on the `sure.im` XMPP server.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions