Skip to content
Snippets Groups Projects
Unverified Commit ef6a8140 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

sip: do not show location sharing (not supported)

Change-Id: I58dd23f33319cc15bc359628134633c5f2ea86f6
parent dfa377bc
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,7 @@ ColumnLayout { ...@@ -136,7 +136,7 @@ ColumnLayout {
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
Layout.preferredWidth: JamiTheme.chatViewFooterButtonSize Layout.preferredWidth: JamiTheme.chatViewFooterButtonSize
Layout.preferredHeight: JamiTheme.chatViewFooterButtonSize Layout.preferredHeight: JamiTheme.chatViewFooterButtonSize
visible: WITH_WEBENGINE visible: WITH_WEBENGINE && !CurrentConversation.isSip
radius: JamiTheme.chatViewFooterButtonRadius radius: JamiTheme.chatViewFooterButtonRadius
preferredSize: JamiTheme.chatViewFooterButtonIconSize preferredSize: JamiTheme.chatViewFooterButtonIconSize
......
...@@ -23,6 +23,8 @@ PositionManager::PositionManager(SystemTray* systemTray, LRCInstance* instance, ...@@ -23,6 +23,8 @@ PositionManager::PositionManager(SystemTray* systemTray, LRCInstance* instance,
set_mapAutoOpening(true); set_mapAutoOpening(true);
}); });
connect(lrcInstance_, &LRCInstance::currentAccountIdChanged, [this]() { connect(lrcInstance_, &LRCInstance::currentAccountIdChanged, [this]() {
if (!localPositioning_) // Not yet initialized
return;
localPositioning_->setUri(lrcInstance_->getCurrentAccountInfo().profileInfo.uri); localPositioning_->setUri(lrcInstance_->getCurrentAccountInfo().profileInfo.uri);
}); });
set_isMapActive(false); set_isMapActive(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment