show me name instead of name part from own jid in maps

This commit is contained in:
Christian Schneppe 2020-02-06 20:11:25 +01:00
parent 9a9fc4ed5e
commit 3aac32f7aa
No known key found for this signature in database
GPG key ID: F30B8D686B44D87E

View file

@ -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) {