mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 10:19:41 +02:00
Merge pull request #354 from vanitasvitae/smackomemoStyleFixes
omemo: style fixes
This commit is contained in:
commit
31d69b07f9
28 changed files with 272 additions and 128 deletions
|
@ -44,6 +44,7 @@ public class SignalCachingOmemoStore extends CachingOmemoStore<IdentityKeyPair,
|
|||
/**
|
||||
* Create a new SignalCachingOmemoStore as a caching layer around a persisting OmemoStore
|
||||
* (eg. a SignalFileBasedOmemoStore).
|
||||
*
|
||||
* @param wrappedStore other store implementation that gets wrapped
|
||||
*/
|
||||
public SignalCachingOmemoStore(OmemoStore<IdentityKeyPair, IdentityKey, PreKeyRecord, SignedPreKeyRecord,
|
||||
|
|
|
@ -149,7 +149,6 @@ public class SignalOmemoRatchet
|
|||
throw new AssertionError("Signals trust management MUST be disabled.");
|
||||
}
|
||||
|
||||
// TODO: Figure out, if this is enough...
|
||||
int type = ciphertextMessage.getType() == CiphertextMessage.PREKEY_TYPE ?
|
||||
OmemoElement.TYPE_OMEMO_PREKEY_MESSAGE : OmemoElement.TYPE_OMEMO_MESSAGE;
|
||||
|
||||
|
|
|
@ -87,8 +87,9 @@ public class SignalOmemoStoreConnector
|
|||
}
|
||||
|
||||
/**
|
||||
* We don't use this.
|
||||
* @return dummy TODO javadoc me please
|
||||
* The OMEMO protocol does not make use of a local registration ID, so we can simply return 0 here.
|
||||
*
|
||||
* @return local registration id.
|
||||
*/
|
||||
@Override
|
||||
public int getLocalRegistrationId() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue