1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 09:09:38 +02:00

Add MamManager.isSupported()

Fixes SMACK-777.
This commit is contained in:
Florian Schmaus 2017-08-14 19:04:58 +02:00
parent 7404bf8fe7
commit b9ed22c732
2 changed files with 25 additions and 1 deletions

View file

@ -46,7 +46,7 @@ public class MamIntegrationTest extends AbstractSmackIntegrationTest {
mamManagerConTwo = MamManager.getInstanceFor(conTwo);
if (!mamManagerConTwo.isSupportedByServer()) {
if (!mamManagerConTwo.isSupported()) {
throw new TestNotPossibleException("Message Archive Management (XEP-0313) is not supported by the server.");
}