Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

copy hints draft implementation #83

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/Notifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,13 @@
if (ev.getSender() === MatrixClientPeg.safeGet().getUserId()) return;
if (data.timeline.getTimelineSet().threadListType !== null) return; // Ignore events on the thread list generated timelines

if (data.liveEvent && ev.getContent()['org.matrix.msc4197.copy_hint'] !== undefined) {
Modal.createDialog(ErrorDialog, {
title: "Copy me!",
ev.getContent()['org.matrix.msc4197.copy_hint'],

Check failure on line 418 in src/Notifier.ts

View workflow job for this annotation

GitHub Actions / Typescript Syntax Check

',' expected.
});
}

MatrixClientPeg.safeGet().decryptEventIfNeeded(ev);

// If it's an encrypted event and the type is still 'm.room.encrypted',
Expand Down
Loading