aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-05-20 12:48:03 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-05-20 12:48:03 +0200
commitbb065680e53232004fdd8b05ce7054abbdac75af (patch)
tree8c54fb85b9544206d2bf8fe7ed23e043dcd420bd
parent2364710afb345dfd797a1832c25b134fd34b0e29 (diff)
parent78847d0749765b7c1e424a8a264d8f23a43170b0 (diff)
Merge pull request #1211 from emdete/add_jid_to_show_location
add extra jid to intend "show location"
-rw-r--r--src/main/java/eu/siacs/conversations/utils/GeoHelper.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/GeoHelper.java b/src/main/java/eu/siacs/conversations/utils/GeoHelper.java
index b31b90182..dd8ebd3df 100644
--- a/src/main/java/eu/siacs/conversations/utils/GeoHelper.java
+++ b/src/main/java/eu/siacs/conversations/utils/GeoHelper.java
@@ -54,6 +54,7 @@ public class GeoHelper {
Intent locationPluginIntent = new Intent("eu.siacs.conversations.location.show");
locationPluginIntent.putExtra("latitude",latitude);
locationPluginIntent.putExtra("longitude",longitude);
+ locationPluginIntent.putExtra("jid",conversation.getJid().toString());
if (conversation.getMode() == Conversation.MODE_SINGLE && message.getStatus() == Message.STATUS_RECEIVED) {
locationPluginIntent.putExtra("name",conversation.getName());
}