mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
core: use addCompressionHandler() instead directly adding to the list
This commit is contained in:
parent
eaa94be7e6
commit
5579567572
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ public final class SmackInitialization {
|
|||
}
|
||||
|
||||
// Add the Java7 compression handler first, since it's preferred
|
||||
SmackConfiguration.compressionHandlers.add(new Java7ZlibInputOutputStream());
|
||||
SmackConfiguration.addCompressionHandler(new Java7ZlibInputOutputStream());
|
||||
|
||||
XmppCompressionManager.registerXmppCompressionFactory(ZlibXmppCompressionFactory.INSTANCE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue