Skip to content

Notifications system

Damien Brugne edited this page Jul 16, 2015 · 23 revisions

Notification types

Scheduler is responsible to send email/mobile notifications:

  • execution frequency: 10s
  • on each execution takes notifications to send by email/mobile older than: 5mn (10s on test)

(@todo differentiate room/usermessage (=to get context) and other (=to allow user see notification by himself))

roompromote

Global type for roomop, roomdeop, roomban, roomdeban and roomkick.

  • Notification is systematically created on user action and sent to notification center.
  • Email/mobile: only sent if user is offline at the moment of the user action and still offline on next scheduler run

usermessage

  • Notification is created on user action only if user is offline and no other usermessage notification was created for the same onetoone in last: 5mn (30s on test)
  • Email/mobile: same as roompromote

roommessage

  • Notification is created on user action only for offline users and if no other roommessage notification was created for the same room in last: 5mn (30s on test)
  • Email/mobile: same as roompromote

roomjoined

  • Notification is created and send to browser on user action if no other roomjoined notification was created for the same room and user in last: 5mn (30s on test)
  • Email/mobile: same as roompromote

roomtopic

  • Notification is always created and send to browser on user action
  • Email/mobile: same as roompromote

usermention

  • Browser : Always.
  • Email: Only if offline.
  • Mobile: Only if offline.
  • Delay: None.

Clone this wiki locally