fixed regression with newly created conversations not being shown properly
This commit is contained in:
parent
7e4e7426ee
commit
dc50e0a7e3
|
@ -630,10 +630,11 @@ public class ConversationActivity extends XmppActivity {
|
||||||
if ((Intent.ACTION_VIEW.equals(intent.getAction())&&(VIEW_CONVERSATION.equals(intent.getType())))) {
|
if ((Intent.ACTION_VIEW.equals(intent.getAction())&&(VIEW_CONVERSATION.equals(intent.getType())))) {
|
||||||
String convToView = (String) intent.getExtras().get(
|
String convToView = (String) intent.getExtras().get(
|
||||||
CONVERSATION);
|
CONVERSATION);
|
||||||
|
updateConversationList();
|
||||||
for (int i = 0; i < conversationList.size(); ++i) {
|
for (int i = 0; i < conversationList.size(); ++i) {
|
||||||
if (conversationList.get(i).getUuid().equals(convToView)) {
|
if (conversationList.get(i).getUuid().equals(convToView)) {
|
||||||
setSelectedConversation(conversationList.get(i));
|
setSelectedConversation(conversationList.get(i));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
paneShouldBeOpen = false;
|
paneShouldBeOpen = false;
|
||||||
|
|
Loading…
Reference in a new issue