diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-10 22:03:23 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-11 17:40:51 +0100 |
commit | e33fc26cbe4f60b78cd57e9d4ceff7b3f6e3a6a0 (patch) | |
tree | 4e7e0d622d3ac6ea1d59921a5024e4e1b19d8cc8 /src/main/java/eu/siacs/conversations/entities | |
parent | 6cd2ff0d886b03079036570c74ecb70050b1de2d (diff) |
added snackbar to indicate smp. more error handling in verify activity
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/Conversation.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Conversation.java b/src/main/java/eu/siacs/conversations/entities/Conversation.java index 622e0f83..a9f4c0f1 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -417,6 +417,10 @@ public class Conversation extends AbstractEntity { } } + public boolean smpRequested() { + return smp().status == Smp.STATUS_CONTACT_REQUESTED; + } + public void setNextMessage(String message) { this.nextMessage = message; } |