mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-14 12:01:06 +00:00
fixed notification issue
This commit is contained in:
parent
3d534f2b68
commit
245295c29d
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ const actions = {
|
|||
const disableDesktopNotification = context.rootGetters['settingsModule/settings'].notification.disableDesktopNotification;
|
||||
if (disableDesktopNotification === true) return
|
||||
const channel = context.getters.channels[data.message.channelID];
|
||||
if (channel.server_id) {
|
||||
if (channel && channel.server_id) {
|
||||
const server = context.getters['servers/servers'][channel.server_id]
|
||||
DesktopNotification.serverMessage({
|
||||
serverName: server.name,
|
||||
|
|
|
|||
Loading…
Reference in a new issue