fix crash during refresh feature discovery
This commit is contained in:
parent
f12c242628
commit
68d8e184fd
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue