Skip to content

unread widget

Sib-chat should provide a widget that:

  • takes a jabberID as a value
  • listens to the unreadChannel event on the document, and if it catches one with its jabberID, adds an attribute on itself
  • listens to the read event on the document, and if it catches one with the id of its parent, removes its attribute