Fix runtime critical in entity capabilities hashing

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

View file

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