Converse converse.js

Module: converse-chat

Methods

(inner) getMessageReferencedByError(attrs)

Given an error <message> stanza's attributes, find the saved message model which is referenced by that error.

Parameters:
Name Type Description
attrs Object
Source:

(private, inner) handleUnreadMessage(message)

Given a newly received _converse.Message instance, update the unread counter if necessary.

Parameters:
Name Type Description
message _converse.Message
Source:

(inner) isHidden() → {boolean}

Indicates whether the chat is hidden and therefore whether a newly received message will be visible to the user or not.

Source:
Returns:
Type
boolean

Type Definitions

MessageData

An object containing the original message stanza, as well as the parsed attributes.

Type:
  • Object
Properties:
Name Type Description
stanza XMLElement
stanza MessageAttributes
chatbox ChatBox
Source: