Use real sender name ya dingus
This commit is contained in:
parent
8613ad1256
commit
b06e4532a1
@ -245,7 +245,7 @@ class MautrixController {
|
||||
// but rooms do not...ARGH! But they both use a dedicated element for it.
|
||||
const participantNameElement =
|
||||
Array.from(participantsList.querySelectorAll(`.mdRGT13Ttl`))
|
||||
.find(e => e.innerText == "EN-MY translator")
|
||||
.find(e => e.innerText == sender.name)
|
||||
if (participantNameElement) {
|
||||
imgElement = participantNameElement.previousElementSibling.firstElementChild
|
||||
sender.id = imgElement.parentElement.parentElement.getAttribute("data-mid")
|
||||
|
Loading…
Reference in New Issue
Block a user