Fix kicker triggering & Show a notification when kicked-out

This commit is contained in:
Bubka
2023-11-15 17:01:51 +01:00
parent 3778977c94
commit 26511954c4
7 changed files with 16 additions and 11 deletions

View File

@@ -166,7 +166,7 @@
if (copied) {
if(user.preferences.kickUserAfter == -1) {
user.logout()
user.logout({ kicked: true})
}
notify.success({ text: trans('commons.copied_to_clipboard') })
}