mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 13:59:48 +01:00
hide shared items for federated rooms.
because right now it's response is http 406 Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
611dcb7911
commit
7e57ecaf79
@ -690,7 +690,9 @@ class ConversationInfoActivity :
|
|||||||
private fun handleConversation() {
|
private fun handleConversation() {
|
||||||
val conversationCopy = conversation!!
|
val conversationCopy = conversation!!
|
||||||
|
|
||||||
if (CapabilitiesUtil.hasSpreedFeatureCapability(spreedCapabilities, SpreedFeatures.RICH_OBJECT_LIST_MEDIA)) {
|
if (CapabilitiesUtil.hasSpreedFeatureCapability(spreedCapabilities, SpreedFeatures.RICH_OBJECT_LIST_MEDIA) &&
|
||||||
|
conversationCopy.remoteServer.isNullOrEmpty()
|
||||||
|
) {
|
||||||
binding.sharedItemsButton.setOnClickListener { showSharedItems() }
|
binding.sharedItemsButton.setOnClickListener { showSharedItems() }
|
||||||
} else {
|
} else {
|
||||||
binding.sharedItems.visibility = GONE
|
binding.sharedItems.visibility = GONE
|
||||||
|
Loading…
Reference in New Issue
Block a user