mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-08 14:34:30 +00:00

1) Change SessionBuilder to only establish sessions via KeyExchangeMessage and PreKeyBundles. 2) Change SessionCipher to decrypt either WhisperMessage or PreKeyWhisperMessage items, automatically building a session for the latter. 3) Change SessionCipher to tear down new sessions built with PreKeyWhisperMessages if the embedded WhsiperMessage fails to decrypt.
8 lines
152 B
Java
8 lines
152 B
Java
package org.whispersystems.libaxolotl;
|
|
|
|
public class NoSessionException extends Exception {
|
|
public NoSessionException(String s) {
|
|
super(s);
|
|
}
|
|
}
|