From c0e0d5c100e49e9e0b8063952d84a97fecc3b5af Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Thu, 23 Nov 2023 11:05:56 +0100 Subject: fix(activeSession): remove toast message Signed-off-by: Maksim Sukharev --- src/composables/useActiveSession.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/composables/useActiveSession.js b/src/composables/useActiveSession.js index ef94ea6c6..c5c74f5c0 100644 --- a/src/composables/useActiveSession.js +++ b/src/composables/useActiveSession.js @@ -20,7 +20,6 @@ import { computed, onBeforeMount, onBeforeUnmount, ref, watch } from 'vue' import { getCapabilities } from '@nextcloud/capabilities' -import { showInfo } from '@nextcloud/dialogs' import { SESSION } from '../constants.js' import { setSessionState } from '../services/participantsService.js' @@ -105,10 +104,6 @@ export function useActiveSession() { try { await setSessionState(token.value, SESSION.STATE.INACTIVE) - // Show toast message only when tab is visible on screen - if (windowIsVisible.value) { - showInfo(t('spreed', 'Session has been marked as inactive')) - } console.info('Session has been marked as inactive') } catch (error) { console.error(error) -- cgit v1.2.3