Converse converse.js

Mixin: MAMEnabledChat

converse-mam~MAMEnabledChat

The MUC utils object. Contains utility functions related to multi-user chat.

Source:

Methods

(private, static) fetchArchivedMessages(options, page_directionopt)

Fetch XEP-0313 archived messages based on the passed in criteria.

Parameters:
Name Type Attributes Description
options Object
Properties
Name Type Attributes Description
max integer <optional>

The maximum number of items to return. Defaults to "archived_messages_page_size"

after string <optional>

The XEP-0359 stanza ID of a message after which messages should be returned. Implies forward paging.

before string <optional>

The XEP-0359 stanza ID of a message before which messages should be returned. Implies backward paging.

end string <optional>

A date string in ISO-8601 format, before which messages should be returned. Implies backward paging.

start string <optional>

A date string in ISO-8601 format, after which messages should be returned. Implies forward paging.

with string <optional>

The JID of the entity with which messages were exchanged.

groupchat boolean <optional>

True if archive in groupchat.

page_direction 'forwards' | 'backwards' <optional>

Determines whether this function should recursively page through the entire result set if a limited number of results were returned.

Source:

(private, static) fetchNewestMessages()

Fetches messages that might have been archived after the last archived message in our local cache.

Source: