aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-06-06 19:37:34 +0200
committeriNPUTmice <daniel@gultsch.de>2014-06-06 19:37:34 +0200
commitfc656c5571a1f10ff64134c11aa4017f4f9a70e1 (patch)
treeecbc2c7f2b916eba19b11fcdeb7f1f3c41ef1c2d /src/eu/siacs/conversations/ui
parent246776067a3cf4d996e60551c7e59278b83427f1 (diff)
removed presence from last seen
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-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 6ca88008e..29033891c 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());