From 3aac32f7aa72ab6339cf7f20322ec414c32e6677 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Thu, 6 Feb 2020 20:11:25 +0100 Subject: show me name instead of name part from own jid in maps --- src/main/java/de/pixart/messenger/utils/GeoHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/de/pixart/messenger/utils/GeoHelper.java b/src/main/java/de/pixart/messenger/utils/GeoHelper.java index 966d034d3..d1456e81d 100644 --- a/src/main/java/de/pixart/messenger/utils/GeoHelper.java +++ b/src/main/java/de/pixart/messenger/utils/GeoHelper.java @@ -83,7 +83,7 @@ public class GeoHelper { locationPluginIntent.putExtra("longitude", geoPoint.getLongitude()); if (message.getStatus() != Message.STATUS_RECEIVED) { locationPluginIntent.putExtra("jid", conversation.getAccount().getJid().toString()); - locationPluginIntent.putExtra("name", conversation.getAccount().getJid().getLocal()); + locationPluginIntent.putExtra("name", context.getString(R.string.me)); } else { Contact contact = message.getContact(); if (contact != null) { -- cgit v1.2.3