wojciech.kapcia@tigase.net opened 3 years ago
|
|
I opted for relatively simple change in API to allow adding proper list-multi fields. Though, proper rework of DataForm/Command should be made but that can be done in 8.3/9.0 (#issue #1291) |
|
I've found that changes from this task in |
|
You are right - I overeagerly also changed method from |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.2.0
|
Spent time |
2h 30m
|
Related
Issue Votes (0)
Watchers (0)
Ref: https://github.com/tigase/tigase-server/issues/112:
The fields defined in XEP-0157 are defined as
list-multi
fields, but a Tigase instance I came across usestext-multi
as below:text-multi
is a bit awkward to use here since it means that the<values>
are really individual lines of a single text field, rather than a list of strings.Looks like it uses a function here:
https://github.com/tigase/tigase-server/blob/e1cc9196bd89550a3546f475db9cd44874a84925/src/main/java/tigase/server/BasicComponent.java#L625
that hardcodes
text-multi
here:https://github.com/tigase/tigase-server/blob/e1cc9196bd89550a3546f475db9cd44874a84925/src/main/java/tigase/server/DataForm.java#L116-L117