aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-06-06 21:40:54 +0200
committerChristian Schneppe <christian@pix-art.de>2016-06-06 21:40:54 +0200
commit9d6995164b119a87e3f32fa11d4dd81c677d2e04 (patch)
tree394ebdde6676ad7574887983134358d3cc36d92f /src
parent1e5c64a1f569ebe8a893cdff9a4d8957849220b3 (diff)
update lastseen in contactdetails
Diffstat (limited to 'src')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
index a2c58da6e..3398c74d4 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
@@ -483,11 +483,11 @@ public class ConversationActivity extends XmppActivity
absubtitle.setOnClickListener(this);
} else if (state == ChatState.PAUSED) {
TextView absubtitle = (TextView) findViewById(android.R.id.text2);
- absubtitle.setText(UIHelper.lastseen(getApplicationContext(), conversation.getContact().lastseen.time));
+ absubtitle.setText(UIHelper.lastseen(getApplicationContext(), conversation.getContact().isActive(), conversation.getContact().getLastseen()));
absubtitle.setOnClickListener(this);
} else {
TextView absubtitle = (TextView) findViewById(android.R.id.text2);
- absubtitle.setText(UIHelper.lastseen(getApplicationContext(), conversation.getContact().lastseen.time));
+ absubtitle.setText(UIHelper.lastseen(getApplicationContext(), conversation.getContact().isActive(), conversation.getContact().getLastseen()));
absubtitle.setOnClickListener(this);
}
}