Skip to content

Instantly share code, notes, and snippets.

@fdidron
Last active February 29, 2016 04:25
Show Gist options
  • Save fdidron/f4e58189cedd5e93c0e2 to your computer and use it in GitHub Desktop.
Save fdidron/f4e58189cedd5e93c0e2 to your computer and use it in GitHub Desktop.
chat: {
  unread: n,
  messages : [
    {
      from: userId,
      to: userId,
      timestamp: timestamp,
      unread: true
    }
    ...
  ],
  activeBoxes : [
    {
      userId: userId,
      blink: true
    }
    ...
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment