diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-04-09 10:59:54 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-04-09 10:59:54 +0200 |
commit | b99d70bfe74ce5dff1c8ed26d7f3dbd577a22125 (patch) | |
tree | 6b9b013198bd9e469f6dd4a908b3d495bcdafa9d /src/main/java/eu/siacs/conversations/entities | |
parent | 2713fd50c830e0c139ea4ae3194bdd60126bb968 (diff) |
don't show contact details when in conversations with self
Diffstat (limited to '')
-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 0252ea749..a3ae906b5 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -336,6 +336,10 @@ public class Conversation extends AbstractEntity implements Blockable { return this.correctingMessage; } + public boolean withSelf() { + return getContact().isSelf(); + } + public interface OnMessageFound { void onMessageFound(final Message message); } |