shotvibe / shotvibe-web

ShotVibe REST API webservice
1 stars 0 forks source link

Refactor device push notifications to use signals and observers #30

Closed benny-shotvibe closed 11 years ago

benny-shotvibe commented 11 years ago

Please keep in mind that the a single event, such as a photo being added to an album, triggers two different push notifications:

  1. A push only to the user who added the photo of type "album_sync"
  2. A push to all the other users in the album, in the style of "User John has added 1 photo to album Vacation"

The signal system needs to take the above into account.

Also please make sure that we can easily add more appropriate events in the future. One event we will definitely need soon is an "album_sync" when anyone deletes a photo.