From f28c88a907e83da56081410e660ed664c38cfcd4 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Thu, 23 Nov 2023 11:05:56 +0100 Subject: [PATCH] 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 85b084c9304..ed2d4b9632a 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' @@ -100,10 +99,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)