mirror of
https://github.com/moparisthebest/Conversations
synced 2025-03-03 02:01:48 -05:00
properly handle onNewIntent() in StartConversations activity
* fixes a glitch a caused xmpp uris not to open when activiy was already started
This commit is contained in:
parent
1f4c5ff97c
commit
4cddf31ad2
@ -299,6 +299,15 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNewIntent(Intent intent) {
|
||||
if (xmppConnectionServiceBound) {
|
||||
handleIntent(intent);
|
||||
} else {
|
||||
setIntent(intent);
|
||||
}
|
||||
}
|
||||
|
||||
protected void openConversationForContact(int position) {
|
||||
Contact contact = (Contact) contacts.get(position);
|
||||
openConversationForContact(contact);
|
||||
|
Loading…
x
Reference in New Issue
Block a user