diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-01-05 16:03:51 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-01-09 13:03:56 +0300 |
commit | 8e4456a6d5665a57a2fdb0ca5091273711a6a9b6 (patch) | |
tree | 1e5b5444ce3df8a00ee55b42b0b5f8ec6bbe5fc4 /src | |
parent | 6684c1c865e7ca53274634ab948c70bd530bc21d (diff) |
Remove unused code
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/RightSidebar/Participants/ParticipantsTab.vue | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/components/RightSidebar/Participants/ParticipantsTab.vue b/src/components/RightSidebar/Participants/ParticipantsTab.vue index 910b25f8a..dc3f94f36 100644 --- a/src/components/RightSidebar/Participants/ParticipantsTab.vue +++ b/src/components/RightSidebar/Participants/ParticipantsTab.vue @@ -205,29 +205,6 @@ export default { } }, - async toggleGuests() { - try { - await this.$store.dispatch('toggleGuests', { - token: this.token, - allowGuests: this.conversation.type !== CONVERSATION.TYPE.PUBLIC, - }) - } catch (exeption) { - console.error(exeption) - OCP.Toast.error(t('spreed', 'An error occurred while toggling guests')) - } - }, - - async toggleLobby() { - try { - await this.$store.dispatch('toggleLobby', { - token: this.token, - enableLobby: this.conversation.lobbyState !== WEBINAR.LOBBY.NON_MODERATORS, - }) - } catch (exeption) { - console.error(exeption) - OCP.Toast.error(t('spreed', 'An error occurred while toggling the lobby')) - } - }, async getParticipants() { if (this.token === '') { return |