mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Testing van be done at https://snappymail.eu/demo/
This commit is contained in:
parent
0ec37b7e90
commit
542d9c91e9
10 changed files with 215 additions and 270 deletions
|
|
@ -16,7 +16,7 @@ import {
|
|||
clearNewMessageCache
|
||||
} from 'Common/Cache';
|
||||
|
||||
import { mailBox, notificationMailIcon } from 'Common/Links';
|
||||
import { mailBox } from 'Common/Links';
|
||||
import { i18n, getNotification } from 'Common/Translator';
|
||||
|
||||
import { EmailCollectionModel } from 'Model/EmailCollection';
|
||||
|
|
@ -245,7 +245,6 @@ class MessageUserStore {
|
|||
const len = newMessages.length;
|
||||
if (3 < len) {
|
||||
NotificationStore.displayDesktopNotification(
|
||||
notificationMailIcon(),
|
||||
AccountStore.email(),
|
||||
i18n('MESSAGE_LIST/NEW_MESSAGE_NOTIFICATION', {
|
||||
'COUNT': len
|
||||
|
|
@ -255,7 +254,6 @@ class MessageUserStore {
|
|||
} else {
|
||||
newMessages.forEach(item => {
|
||||
NotificationStore.displayDesktopNotification(
|
||||
notificationMailIcon(),
|
||||
EmailCollectionModel.reviveFromJson(item.From).toString(),
|
||||
item.Subject,
|
||||
{ 'Folder': item.Folder, 'Uid': item.Uid }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue