From d05dab463b545f6fc34e449af15e00a0c95fd77b Mon Sep 17 00:00:00 2001 From: "Christian S." Date: Tue, 21 Jul 2015 09:53:36 +0200 Subject: modified typing options --- src/main/java/eu/siacs/conversations/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/eu/siacs/conversations/Config.java b/src/main/java/eu/siacs/conversations/Config.java index 99a94a8fb..cab70b51a 100644 --- a/src/main/java/eu/siacs/conversations/Config.java +++ b/src/main/java/eu/siacs/conversations/Config.java @@ -39,7 +39,7 @@ public final class Config { public static final int MAM_MAX_MESSAGES = 500; public static final ChatState DEFAULT_CHATSTATE = ChatState.ACTIVE; - public static final int TYPING_TIMEOUT = 8; + public static final int TYPING_TIMEOUT = 3; public static final String ENABLED_CIPHERS[] = { "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", -- cgit v1.2.3 From 976ffb7b45fb3005d70d65bdb6591da72d13a0e7 Mon Sep 17 00:00:00 2001 From: "Christian S." Date: Tue, 21 Jul 2015 09:54:34 +0200 Subject: hide typing info when contact stopped typing --- src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index ecb21bec6..6fa98a835 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -325,7 +325,7 @@ public class ConversationActivity extends XmppActivity if (state == ChatState.COMPOSING) { ab.setSubtitle(getString(R.string.contact_is_typing, conversation.getName())); } else if (state == ChatState.PAUSED) { - ab.setSubtitle(getString(R.string.contact_has_stopped_typing, conversation.getName())); + ab.setSubtitle(null); } } } else { -- cgit v1.2.3