mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
Merge branch 'development' of github.com:siacs/Conversations into development
This commit is contained in:
commit
9d1a8c607f
@ -54,8 +54,14 @@ public class GeoHelper {
|
||||
Intent locationPluginIntent = new Intent("eu.siacs.conversations.location.show");
|
||||
locationPluginIntent.putExtra("latitude",latitude);
|
||||
locationPluginIntent.putExtra("longitude",longitude);
|
||||
if (conversation.getMode() == Conversation.MODE_SINGLE && message.getStatus() == Message.STATUS_RECEIVED) {
|
||||
locationPluginIntent.putExtra("name",conversation.getName());
|
||||
if (conversation.getMode() == Conversation.MODE_SINGLE) {
|
||||
if (message.getStatus() == Message.STATUS_RECEIVED) {
|
||||
locationPluginIntent.putExtra("name",conversation.getName());
|
||||
locationPluginIntent.putExtra("jid",message.getCounterpart().toString());
|
||||
}
|
||||
else {
|
||||
locationPluginIntent.putExtra("jid",conversation.getAccount().getJid().toString());
|
||||
}
|
||||
}
|
||||
intents.add(locationPluginIntent);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user