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

userinvite

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

roommessage

  • Browser : Never.
  • Email: Only if offline.
  • Mobile: Only if offline.
  • Delay: 5 minutes.

roomjoined

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

roomtopic

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

usermention

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

userpromote (userban / userdeban)

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

Clone this wiki locally