Fix runtime critical in entity capabilities hashing

This commit is contained in:
fiaxh 2020-06-04 14:07:43 +02:00
parent c813fc4e8a
commit b2009005df

View file

@ -110,7 +110,7 @@ namespace Xmpp.Xep.EntityCapabilities {
Gee.List<string> values = field.get_values();
values.sort();
foreach (string value in values) {
sb.append(sanitize(value))
sb.append(sanitize(value ?? ""))
.append("<");
}
}