Module: actions/ChatHeaderActions

Used to trigger actions on the chat header

Source:

Methods

(static) changeTopic(newTopic)

Updates the topic value in the chat header

Parameters:
Name Type Description
newTopic string

New topic

Source:

(static) dismissTopicEdit()

Cancels the inline edit mode for the topic in the chat header

Source:

(static) editTopicInChatHeader()

Initiates edit mode for the topic in the chat header

Source:

(static) handlePanelSelect(data)

Parameters:
Name Type Description
data object
Properties
Name Type Description
room string

JID of current chat

type string

Panel type. Valid values: files, links, roster.

Source:

(static) startCall(data)

Opens the video UI and calls a user

Parameters:
Name Type Description
data object
Properties
Name Type Description
jid string

the jid of the user to call

audio_only bool

whether or not this is an audio-only call

Source: