aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
diff options
context:
space:
mode:
authorDaniel Gultsch <inputmice@siacs.eu>2015-01-09 19:23:26 +0100
committerDaniel Gultsch <inputmice@siacs.eu>2015-01-09 19:23:26 +0100
commit06eae476ee7e19029fe1ac28eae75fdcc1d4d1e6 (patch)
tree54180483627e4d9470f566d17033d6dbc5790c74 /src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
parent0a48f777acefa29443743f68f242136309169ba2 (diff)
Introduced expert options to control enter-is-send
(default == off)
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui/ConversationActivity.java')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
index ba5b3e59..a461656e 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
@@ -1058,4 +1058,8 @@ public class ConversationActivity extends XmppActivity
public void blockConversation(final Blockable conversation) {
xmppConnectionService.sendBlockRequest(conversation);
}
+
+ public boolean enterIsSend() {
+ return getPreferences().getBoolean("enter_is_send",false);
+ }
}