Skip to content

Commit

Permalink
fix(desktop): allow avatar menu on desktop
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Feb 28, 2024
1 parent 7ea5ebf commit b312c76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
4 changes: 1 addition & 3 deletions src/components/AvatarWrapper/AvatarWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ export default {
return this.menuContainer ?? this.$store.getters.getMainContainerSelector()
},
isDisabledMenu() {
// NcAvatarMenu doesn't work on Desktop
// See: https://github.com/nextcloud/talk-desktop/issues/34
return IS_DESKTOP || this.disableMenu
return this.disableMenu
},
},
}
Expand Down
7 changes: 0 additions & 7 deletions src/components/TopBar/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
class="conversation-icon"
:offline="isPeerInactive"
:item="conversation"
:disable-menu="disableMenu"
show-user-online-status
:hide-favorite="false"
:hide-call="false" />
Expand Down Expand Up @@ -300,12 +299,6 @@ export default {
return n('spreed', '%n participant in call', '%n participants in call', this.$store.getters.participantsInCall(this.token))
},

disableMenu() {
// NcAvatarMenu doesn't work on Desktop
// See: https://github.com/nextcloud/talk-desktop/issues/34
return IS_DESKTOP
},

supportedReactions() {
return getCapabilities()?.spreed?.config?.call?.['supported-reactions']
},
Expand Down

0 comments on commit b312c76

Please sign in to comment.