Skip to content

Commit

Permalink
Merge pull request #11147 from nextcloud/backport/10978/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(activeSession): remove toast message
  • Loading branch information
nickvergessen authored Dec 11, 2023
2 parents 7be6221 + c0e0d5c commit 5f6e816
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/composables/useActiveSession.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5f6e816

Please sign in to comment.