mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
Fix PrivateDataManager getInstanceFor() always returns null
This commit is contained in:
parent
075308a7cd
commit
865168688d
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class PrivateDataManager extends Manager {
|
|||
|
||||
public static synchronized PrivateDataManager getInstanceFor(XMPPConnection connection) {
|
||||
PrivateDataManager privateDataManager = instances.get(connection);
|
||||
if (connection == null) {
|
||||
if (privateDataManager == null) {
|
||||
privateDataManager = new PrivateDataManager(connection);
|
||||
}
|
||||
return privateDataManager;
|
||||
|
|
Loading…
Reference in a new issue