forked from mirror/monocles_chat
add log when we requested token but didn’t get one
(cherry picked from commit f5b7fbc441d5d345841ee6669ab3c6509ddf551e)
This commit is contained in:
parent
361aa3702e
commit
c72d392bf3
1 changed files with 10 additions and 2 deletions
|
@ -863,8 +863,16 @@ public class XmppConnection implements Runnable {
|
|||
tokenMechanism = null;
|
||||
}
|
||||
if (tokenMechanism != null && !Strings.isNullOrEmpty(token)) {
|
||||
this.account.setFastToken(tokenMechanism,token);
|
||||
Log.d(Config.LOGTAG,account.getJid().asBareJid()+": storing hashed token "+tokenMechanism);
|
||||
this.account.setFastToken(tokenMechanism, token);
|
||||
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
|
||||
if (processNopStreamFeatures) {
|
||||
|
|
Loading…
Add table
Reference in a new issue