diff options
author | Andreas Straub <andy@strb.org> | 2015-07-21 14:18:16 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-07-21 14:24:59 +0200 |
commit | 92b5081b5ebac1a3108a821a270beb3f7d9c39ee (patch) | |
tree | a6bde983b69fbf22c02b2c2785a727f2d9b1ea26 /src/main/java/eu/siacs/conversations/xmpp/OnNewKeysAvailable.java | |
parent | 3c5c0c7d3b4ceaaca51b64ca91d2d1fcd76f9a66 (diff) |
Add INACTIVE state for removed keys
We introduce a new trust state: INACTIVE. This state is intended for
old keys that have been removed.
When a TRUSTED device is removed from the PEP devicelist, it's status
will be set to INACTIVE. INACTIVE keys are shown in the UI as greyed
out, non-interactible key rows. Messages are not encrypted for INACTIVE
devices.
When an INACTIVE device reappears in PEP, or a message is received from
an INACTIVE device, it is set back to trusted.
Diffstat (limited to 'src/main/java/eu/siacs/conversations/xmpp/OnNewKeysAvailable.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xmpp/OnNewKeysAvailable.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/OnNewKeysAvailable.java b/src/main/java/eu/siacs/conversations/xmpp/OnNewKeysAvailable.java deleted file mode 100644 index 59dc1c1e..00000000 --- a/src/main/java/eu/siacs/conversations/xmpp/OnNewKeysAvailable.java +++ /dev/null @@ -1,5 +0,0 @@ -package eu.siacs.conversations.xmpp; - -public interface OnNewKeysAvailable { - public void onNewKeysAvailable(); -} |