mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-24 23:32:05 +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