mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 19:22:15 -05:00
Renaming of variable
Was probably just a copy/paste typo.
This commit is contained in:
parent
59f02f7766
commit
cf374ec4ef
@ -125,15 +125,15 @@ public class SQLiteAxolotlStore implements AxolotlStore {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int loadCurrentPreKeyId() {
|
private int loadCurrentPreKeyId() {
|
||||||
String regIdString = this.account.getKey(JSONKEY_CURRENT_PREKEY_ID);
|
String prekeyIdString = this.account.getKey(JSONKEY_CURRENT_PREKEY_ID);
|
||||||
int reg_id;
|
int prekey_id;
|
||||||
if (regIdString != null) {
|
if (prekeyIdString != null) {
|
||||||
reg_id = Integer.valueOf(regIdString);
|
prekey_id = Integer.valueOf(prekeyIdString);
|
||||||
} else {
|
} else {
|
||||||
Log.w(Config.LOGTAG, AxolotlService.getLogprefix(account) + "Could not retrieve current prekey id for account " + account.getJid());
|
Log.w(Config.LOGTAG, AxolotlService.getLogprefix(account) + "Could not retrieve current prekey id for account " + account.getJid());
|
||||||
reg_id = 0;
|
prekey_id = 0;
|
||||||
}
|
}
|
||||||
return reg_id;
|
return prekey_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void regenerate() {
|
public void regenerate() {
|
||||||
|
Loading…
Reference in New Issue
Block a user