Replace usage of deprecated method with alternative.

Deprecated method:
```
org.jivesoftware.smack.SmackException.NoResponseException.newWith(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smack.filter.StanzaFilter)
```
Alternative method:
```
org.jivesoftware.smack.SmackException.NoResponseException.newWith(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smack.filter.StanzaFilter)
```
This commit is contained in:
arthur 2020-10-25 20:47:42 +03:00
parent 48708bdb07
commit f450301048

View File

@ -581,7 +581,7 @@ public class CheckUpdates {
}
if (response == null) {
throw SmackException.NoResponseException.newWith( connection, collector );
throw SmackException.NoResponseException.newWith(connection, collector.getStanzaFilter());
}
XMPPException.XMPPErrorException.ifHasErrorThenThrow( response );