Skip to content

Commit

Permalink
Merge pull request #4239 from nextcloud/bugfix/noid/fixFederatedCallB…
Browse files Browse the repository at this point in the history
…uttons

fix to not remove call buttons for federated conversations after 30 seconds
  • Loading branch information
mahibi authored Sep 20, 2024
2 parents 1c94338 + b080e89 commit 22c3f62
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2812,10 +2812,7 @@ class ChatActivity :
menu.removeItem(R.id.shared_items)
}

if (currentConversation!!.remoteServer != null) {
menu.removeItem(R.id.conversation_video_call)
menu.removeItem(R.id.conversation_voice_call)
} else if (CapabilitiesUtil.isAbleToCall(spreedCapabilities)) {
if (CapabilitiesUtil.isAbleToCall(spreedCapabilities)) {
conversationVoiceCallMenuItem = menu.findItem(R.id.conversation_voice_call)
conversationVideoMenuItem = menu.findItem(R.id.conversation_video_call)

Expand Down

0 comments on commit 22c3f62

Please sign in to comment.