Import emoji utils.

Fixes `TypeError: core_default.isOnlyEmojis is not a function`
when using only `@converse/headless`.
This commit is contained in:
JC Brand 2023-02-22 09:08:45 +01:00
parent 56259fd22e
commit 0122bd7bab
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@
## 10.1.3 (Unreleased) ## 10.1.3 (Unreleased)
- Add the ability to set roles and affiliations via the MUC occupant modal - Add the ability to set roles and affiliations via the MUC occupant modal
- Fix `isOnlyEmojis is not a function` when using only `@converse/headless`
## 10.1.2 (2023-02-17) ## 10.1.2 (2023-02-17)

View File

@ -3,6 +3,7 @@
* @copyright 2022, the Converse.js contributors * @copyright 2022, the Converse.js contributors
* @license Mozilla Public License (MPLv2) * @license Mozilla Public License (MPLv2)
*/ */
import './utils.js';
import { Model } from '@converse/skeletor/src/model.js'; import { Model } from '@converse/skeletor/src/model.js';
import { _converse, api, converse } from "../../core.js"; import { _converse, api, converse } from "../../core.js";
import { getOpenPromise } from '@converse/openpromise'; import { getOpenPromise } from '@converse/openpromise';