aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2020-02-06 20:11:25 +0100
committerChristian Schneppe <christian.schneppe@pix-art.de>2020-02-06 20:11:42 +0100
commit3aac32f7aa72ab6339cf7f20322ec414c32e6677 (patch)
tree2b70572e0b1cf8f94a494d324d6b80b96a0841c0 /src/main/java/de/pixart/messenger
parent9a9fc4ed5e1944788564b28773a685febea2a21c (diff)
show me name instead of name part from own jid in maps
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r--src/main/java/de/pixart/messenger/utils/GeoHelper.java2
1 files changed, 1 insertions, 1 deletions
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) {