@@ -1,8 +1,7 @@
import { CustomElement } from 'shared/components/element.js';
-import { _converse, api, converse } from '@converse/headless/core';
+import { _converse, api } from '@converse/headless/core';
import { onScrolledDown } from './utils.js';
-const u = converse.env.utils;
export default class BaseChatView extends CustomElement {
@@ -4,7 +4,7 @@ import { _converse, api, converse } from '@converse/headless/core';
const { dayjs } = converse.env;
-function onScrolledDown (model) {
+export function onScrolledDown (model) {
if (!model.isHidden()) {
if (api.settings.get('allow_url_history_change')) {
// Clear location hash if set to one of the messages in our history