diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-05-20 12:48:03 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-05-20 12:48:03 +0200 |
commit | bb065680e53232004fdd8b05ce7054abbdac75af (patch) | |
tree | 8c54fb85b9544206d2bf8fe7ed23e043dcd420bd /src/main/java/eu/siacs | |
parent | 2364710afb345dfd797a1832c25b134fd34b0e29 (diff) | |
parent | 78847d0749765b7c1e424a8a264d8f23a43170b0 (diff) |
Merge pull request #1211 from emdete/add_jid_to_show_location
add extra jid to intend "show location"
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r-- | src/main/java/eu/siacs/conversations/utils/GeoHelper.java | 1 |
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 b31b9018..dd8ebd3d 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()); } |