def METHOD_NAME(self):
    """
    Custom initialization for ChatMode.
    """
    # Create the Web object
    self.web = Web(self.common, True, self.settings, "chat")
    # Chat image
    self.image_label = QtWidgets.QLabel()
    self.image_label.setPixmap(
        QtGui.QPixmap.fromImage(
            QtGui.QImage(
                GuiCommon.get_resource_path(
                    "images/{}_mode_chat.png".format(self.common.gui.color_mode)
                )
            )
        )
    )
    self.image_label.setFixedSize(300, 300)
    image_layout = QtWidgets.QVBoxLayout()
    image_layout.addStretch()
    image_layout.addWidget(self.image_label)
    image_layout.addStretch()
    self.image = QtWidgets.QWidget()
    self.image.setLayout(image_layout)
    # Set title placeholder
    self.mode_settings_widget.title_lineedit.setPlaceholderText(
        strings._("gui_tab_name_chat")
    )
    # Server status
    self.server_status.set_mode("chat")
    self.server_status.server_started_finished.connect(self.update_primary_action)
    self.server_status.server_stopped.connect(self.update_primary_action)
    self.server_status.server_canceled.connect(self.update_primary_action)
    # Tell server_status about web, then update
    self.server_status.web = self.web
    self.server_status.update()
    # Header
    header_label = QtWidgets.QLabel(strings._("gui_new_tab_chat_button"))
    header_label.setStyleSheet(self.common.gui.css["mode_header_label"])
    # Top bar
    top_bar_layout = QtWidgets.QHBoxLayout()
    # Add space at the top, same height as the toggle history bar in other modes
    top_bar_layout.addWidget(MinimumSizeWidget(0, 30))
    # Main layout
    self.main_layout = QtWidgets.QVBoxLayout()
    self.main_layout.addLayout(top_bar_layout)
    self.main_layout.addWidget(header_label)
    self.main_layout.addWidget(self.primary_action, stretch=1)
    self.main_layout.addWidget(self.server_status)
    self.main_layout.addWidget(MinimumSizeWidget(700, 0))
    # Column layout
    self.column_layout = QtWidgets.QHBoxLayout()
    self.column_layout.addWidget(self.image)
    self.column_layout.addLayout(self.main_layout)
    # Content layout
    self.content_layout.addLayout(self.column_layout)