1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-12 14:01:08 +01:00

Merge branch '4.3'

This commit is contained in:
Florian Schmaus 2019-04-16 09:21:14 +02:00
commit 9c30e4f3cc
18 changed files with 147 additions and 22 deletions

View file

@ -102,7 +102,7 @@ public final class MoodManager extends Manager {
});
}
public static MoodManager getInstanceFor(XMPPConnection connection) {
public static synchronized MoodManager getInstanceFor(XMPPConnection connection) {
MoodManager manager = INSTANCES.get(connection);
if (manager == null) {
manager = new MoodManager(connection);