aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ConversationFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu/siacs/conversations/ui/ConversationFragment.java')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java
index 6ca88008..29033891 100644
--- a/src/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/eu/siacs/conversations/ui/ConversationFragment.java
@@ -666,13 +666,7 @@ public class ConversationFragment extends Fragment {
}
if (activity.showLastseen()) {
Contact contact = conversation.getContact();
- if ((contact.lastseen.presence != null)&&(contact.lastseen.time != 0)) {
- lastSeenText.setText(getString(R.string.last_seen,
- UIHelper.lastseen(getActivity(), contact.lastseen.time),
- contact.lastseen.presence));
- } else {
- lastSeenText.setText(R.string.never_seen);
- }
+ lastSeenText.setText(UIHelper.lastseen(getActivity(), contact.lastseen.time));
}
this.messageList.clear();
this.messageList.addAll(this.conversation.getMessages());