mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
OmemoManager: Fix typo s/defaulDeviceId/defaultDeviceId/
This commit is contained in:
parent
2d4312272c
commit
3a79566f1c
1 changed files with 5 additions and 5 deletions
|
@ -163,13 +163,13 @@ public final class OmemoManager extends Manager {
|
|||
}
|
||||
}
|
||||
|
||||
int defaulDeviceId = OmemoService.getInstance().getOmemoStoreBackend().getDefaultDeviceId(user);
|
||||
if (defaulDeviceId < 1) {
|
||||
defaulDeviceId = randomDeviceId();
|
||||
OmemoService.getInstance().getOmemoStoreBackend().setDefaultDeviceId(user, defaulDeviceId);
|
||||
int defaultDeviceId = OmemoService.getInstance().getOmemoStoreBackend().getDefaultDeviceId(user);
|
||||
if (defaultDeviceId < 1) {
|
||||
defaultDeviceId = randomDeviceId();
|
||||
OmemoService.getInstance().getOmemoStoreBackend().setDefaultDeviceId(user, defaultDeviceId);
|
||||
}
|
||||
|
||||
return getInstanceFor(connection, defaulDeviceId);
|
||||
return getInstanceFor(connection, defaultDeviceId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue