aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2015-01-28 00:31:01 +0100
committeriNPUTmice <daniel@gultsch.de>2015-01-28 00:31:01 +0100
commit250501a390dbfff29a3216e79e2ce7ce70fa69f5 (patch)
tree7392d14cfc1375c592baff5714098d12a06500b2 /src/main/java/eu
parentb626864f4e0d4a71aba0ebedab9902447d9962a8 (diff)
removed 1s delay from clear notification fixissue921
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationActivity.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
index f747aed4..1cdda5f9 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
@@ -747,14 +747,10 @@ public class ConversationActivity extends XmppActivity
if (this.xmppConnectionServiceBound) {
this.xmppConnectionService.getNotificationService().setIsInForeground(true);
}
- new Handler().postDelayed(new Runnable() {
- @Override
- public void run() {
- if (!isConversationsOverviewVisable() || !isConversationsOverviewHideable()) {
- sendReadMarkerIfNecessary(getSelectedConversation());
- }
- }
- },1000);
+
+ if (!isConversationsOverviewVisable() || !isConversationsOverviewHideable()) {
+ sendReadMarkerIfNecessary(getSelectedConversation());
+ }
}