Commit 8bd2114d authored by JC Brand's avatar JC Brand

MUC has its own method for sending markers

parent c0249b9c
......@@ -185,7 +185,9 @@ const ChatRoomMixin = {
* message, even if it didn't include a `markable` element.
*/
sendMarkerForMessage (msg, type = 'displayed', force = false) {
if (!msg) return;
if (!msg || !api.settings.get('send_chat_markers').includes(type)) {
return;
}
if (msg?.get('is_markable') || force) {
const id = msg.get(`stanza_id ${this.get('jid')}`);
if (!id) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment