immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
52.9k stars 2.81k forks source link

multiple email alerts when uploading images to an album from computer #13765

Closed bbieberle closed 1 month ago

bbieberle commented 1 month ago

The bug

When you add images to a shared album and you do not select images already in immich. But you select images via the file picker ("Select from computer"), then immich sends an email alert "New media has been added to an album" for every image that is added to the album. I guess it should only 1 notification be sent, like when you add images already in immich.

The OS that Immich Server is running on

Kubernetes

Version of Immich Server

v1.118.2

Version of Immich Mobile App

/

Platform with the issue

Your docker-compose.yml content

-

Your .env content

IMMICH_WORKERS_INCLUDE:       api 
DB_DATABASE_NAME:             immich
DB_HOSTNAME:                  immich-postgresql
DB_PASSWORD:                  <set to the key 'dbPassword' in secret 'immich-db-secret'>  
DB_USERNAME:                  immich
IMMICH_MACHINE_LEARNING_URL:  http://immich-machine-learning:3003
REDIS_HOSTNAME:               immich-redis-master

Reproduction steps

  1. create shared album
  2. enable email notifications for shared album additions
  3. upload images directly into the album from a computer via the web frontend

Relevant log output

-

Additional information

-

bo0tzz commented 1 month ago

Fixed in #12223, will be in the next release