aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/ui/ConversationActivity.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-02 16:33:34 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-02 16:33:34 +0100
commitbbdaf5b0bd7c42729aeba12f3b4ea4cabc794c4f (patch)
treec3ce3d69b53ce28da4967a5e5a3b3e1f9d8d036b /src/de/gultsch/chat/ui/ConversationActivity.java
parentd365bbe480bdd26a042b425c45227785ab4fbf51 (diff)
will update messages on conversation update as well
Diffstat (limited to 'src/de/gultsch/chat/ui/ConversationActivity.java')
-rw-r--r--src/de/gultsch/chat/ui/ConversationActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/ui/ConversationActivity.java b/src/de/gultsch/chat/ui/ConversationActivity.java
index b06fa21d..8c377241 100644
--- a/src/de/gultsch/chat/ui/ConversationActivity.java
+++ b/src/de/gultsch/chat/ui/ConversationActivity.java
@@ -73,6 +73,10 @@ public class ConversationActivity extends XmppActivity {
finish();
}
}
+ ConversationFragment selectedFragment = (ConversationFragment) getFragmentManager().findFragmentByTag("conversation");
+ if (selectedFragment!=null) {
+ selectedFragment.updateMessages();
+ }
}
});
}