j3k0 / ganomede-notifications

Long-pull notification service for Ganomede
0 stars 0 forks source link

Interaction with Coordinator module #20

Closed elmigranto closed 9 years ago

elmigranto commented 9 years ago

PR: #21

elmigranto commented 9 years ago

We'll have 2 types of notifications:

Both will have common notification.data:

{ "game": {
    "id": String
    "type": String
    "players": [String]
  }

  "player": String  // username of a person who left/joined
  "reason": String  // not sure, "resign" for leave, what about joininng?
}
j3k0 commented 9 years ago

That's it. There's no reason for join, and it's optional for leave.

elmigranto commented 9 years ago

Closing this, #21 is ready.