فهرست منبع

Import emoji utils.

Fixes `TypeError: core_default.isOnlyEmojis is not a function`
when using only `@converse/headless`.
JC Brand 2 سال پیش
والد
کامیت
0122bd7bab
2فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 2 0
      CHANGES.md
  2. 1 0
      src/headless/plugins/emoji/index.js

+ 2 - 0
CHANGES.md

@@ -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)
 
 

+ 1 - 0
src/headless/plugins/emoji/index.js

@@ -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';