mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 07:42:06 +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);
|
int defaultDeviceId = OmemoService.getInstance().getOmemoStoreBackend().getDefaultDeviceId(user);
|
||||||
if (defaulDeviceId < 1) {
|
if (defaultDeviceId < 1) {
|
||||||
defaulDeviceId = randomDeviceId();
|
defaultDeviceId = randomDeviceId();
|
||||||
OmemoService.getInstance().getOmemoStoreBackend().setDefaultDeviceId(user, defaulDeviceId);
|
OmemoService.getInstance().getOmemoStoreBackend().setDefaultDeviceId(user, defaultDeviceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
return getInstanceFor(connection, defaulDeviceId);
|
return getInstanceFor(connection, defaultDeviceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue