add log when we requested token but didn’t get one
This commit is contained in:
parent
01624fb13d
commit
f5b7fbc441
|
@ -810,8 +810,16 @@ public class XmppConnection implements Runnable {
|
||||||
tokenMechanism = null;
|
tokenMechanism = null;
|
||||||
}
|
}
|
||||||
if (tokenMechanism != null && !Strings.isNullOrEmpty(token)) {
|
if (tokenMechanism != null && !Strings.isNullOrEmpty(token)) {
|
||||||
this.account.setFastToken(tokenMechanism,token);
|
this.account.setFastToken(tokenMechanism, token);
|
||||||
Log.d(Config.LOGTAG,account.getJid().asBareJid()+": storing hashed token "+tokenMechanism);
|
Log.d(
|
||||||
|
Config.LOGTAG,
|
||||||
|
account.getJid().asBareJid() + ": storing hashed token " + tokenMechanism);
|
||||||
|
} else if (this.hashTokenRequest != null) {
|
||||||
|
Log.w(
|
||||||
|
Config.LOGTAG,
|
||||||
|
account.getJid().asBareJid()
|
||||||
|
+ ": no response to our hashed token request "
|
||||||
|
+ this.hashTokenRequest);
|
||||||
}
|
}
|
||||||
// a successful resume will not send stream features
|
// a successful resume will not send stream features
|
||||||
if (processNopStreamFeatures) {
|
if (processNopStreamFeatures) {
|
||||||
|
|
Loading…
Reference in a new issue