fix crash during refresh feature discovery

This commit is contained in:
kosyak 2023-10-30 21:32:14 +01:00
parent f12c242628
commit 68d8e184fd

View file

@ -4880,6 +4880,7 @@ public class XmppConnectionService extends Service {
if (result != null) { if (result != null) {
return result; return result;
} else { } else {
if (key.first == null || key.second == null) return null;
result = databaseBackend.findDiscoveryResult(key.first, key.second); result = databaseBackend.findDiscoveryResult(key.first, key.second);
if (result != null) { if (result != null) {
discoCache.put(key, result); discoCache.put(key, result);