summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-12-11 10:31:59 +0100
committerGitHub <noreply@github.com>2023-12-11 10:31:59 +0100
commit5f6e8163caddcec9173369f6cda7e5c28c386979 (patch)
tree0b096ae82d8675a47afed6acb7e1d459f7435e00
parent7be6221a3191898e58a290a997dfc83f82ded15f (diff)
parentc0e0d5c100e49e9e0b8063952d84a97fecc3b5af (diff)
Merge pull request #11147 from nextcloud/backport/10978/stable28v18.0.0
[stable28] fix(activeSession): remove toast message
-rw-r--r--src/composables/useActiveSession.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/composables/useActiveSession.js b/src/composables/useActiveSession.js
index dbd688d53..29ff2ade5 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 { useIsInCall } from './useIsInCall.js'
import { useStore } from './useStore.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)