mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 15:01:07 +01:00
Merge branch '4.1'
Conflicts: version.gradle
This commit is contained in:
commit
369878b6d9
8 changed files with 48 additions and 12 deletions
|
|
@ -201,7 +201,7 @@ public class EntityCapsManager extends Manager {
|
|||
DiscoverInfo info = CAPS_CACHE.get(nodeVer);
|
||||
|
||||
// If it was not in CAPS_CACHE, try to retrieve the information from persistentCache
|
||||
if (info == null) {
|
||||
if (info == null && persistentCache != null) {
|
||||
info = persistentCache.lookup(nodeVer);
|
||||
// Promote the information to CAPS_CACHE if one was found
|
||||
if (info != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue