aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-07-01 16:34:48 +0200
committerChristian Schneppe <christian@pix-art.de>2016-07-01 16:34:48 +0200
commit419cf1f835df0e97da573aa429c9f38ecdc8ddcc (patch)
tree3a4763bcf9e41d7711800ddbbb0b227bec097d21 /src/main/java
parent1fa695e4e9a4d3f4eb89d72b47486fcc79f9fb8e (diff)
correct variable names
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
index 0ee0dec97..319bfcead 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
@@ -479,7 +479,7 @@ public class ConversationActivity extends XmppActivity
abtitle.setText(conversation.getName());
abtitle.setOnClickListener(this);
if (conversation.getMode() == Conversation.MODE_SINGLE && !this.getSelectedConversation().withSelf()) {
- if (conversation.getContact().getMostAvailableStatus() == Presence.Status.OFFLINE) {
+ if (conversation.getContact().getShownStatus() == Presence.Status.OFFLINE) {
TextView absubtitle = (TextView) findViewById(android.R.id.text2);
absubtitle.setText(getString(R.string.account_status_offline));
absubtitle.setOnClickListener(this);