Merge pull request #1211 from emdete/add_jid_to_show_location
add extra jid to intend "show location"
This commit is contained in:
commit
bb065680e5
|
@ -54,6 +54,7 @@ public class GeoHelper {
|
||||||
Intent locationPluginIntent = new Intent("eu.siacs.conversations.location.show");
|
Intent locationPluginIntent = new Intent("eu.siacs.conversations.location.show");
|
||||||
locationPluginIntent.putExtra("latitude",latitude);
|
locationPluginIntent.putExtra("latitude",latitude);
|
||||||
locationPluginIntent.putExtra("longitude",longitude);
|
locationPluginIntent.putExtra("longitude",longitude);
|
||||||
|
locationPluginIntent.putExtra("jid",conversation.getJid().toString());
|
||||||
if (conversation.getMode() == Conversation.MODE_SINGLE && message.getStatus() == Message.STATUS_RECEIVED) {
|
if (conversation.getMode() == Conversation.MODE_SINGLE && message.getStatus() == Message.STATUS_RECEIVED) {
|
||||||
locationPluginIntent.putExtra("name",conversation.getName());
|
locationPluginIntent.putExtra("name",conversation.getName());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue