Open benny-shotvibe opened 10 years ago
When this view is called:
POST /albums/{aid}/view/
Check if it is the first time that the user is viewing this album (meaning the "last_access" field previously had a value of NULL)
If so, then send a push notification to the user who invited this user to the album ("added_by_user" field).
The message should be "{user} joined the album {album}"
When this view is called:
Check if it is the first time that the user is viewing this album (meaning the "last_access" field previously had a value of NULL)
If so, then send a push notification to the user who invited this user to the album ("added_by_user" field).
The message should be "{user} joined the album {album}"