add extra jid to intend "show location"

This commit is contained in:
M. Dietrich 2015-05-20 11:34:11 +02:00
parent d672d578c9
commit 78847d0749
1 changed files with 1 additions and 0 deletions

View File

@ -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());
}