Compare commits

...
1 Commits
Author SHA1 Message Date
WhkSoft ad21092f6c some change 2023-06-09 23:38:52 +08:00
3 changed files with 8 additions and 4 deletions

No files matched your search

+5 -1
View File
@@ -557,7 +557,11 @@ async function handleRepeat(mEvent){
console.log(mEvent);
const opt = {};
opt.msgType = 'm.text';
initMatrix.roomsInput.setMessage(mEvent.sender.roomId, mEvent.clearEvent.content.body);
if(mEvent.clearEvent){
initMatrix.roomsInput.setMessage(mEvent.sender.roomId, mEvent.clearEvent.content.body);
} else {
initMatrix.roomsInput.setMessage(mEvent.sender.roomId, mEvent.event.content.body);
}
await initMatrix.roomsInput.sendInput(mEvent.sender.roomId, opt);
}
+2 -2
View File
@@ -107,7 +107,7 @@ function AppearanceSection() {
{ text: 'Butter' },
{ text: 'NGA'},
{ text: 'NGA Green'},
{ text: '?'}
//{ text: '?'}
]}
onSelect={(index) => {
if (settings.useSystemTheme) toggleSystemTheme();
@@ -362,7 +362,7 @@ function AboutSection() {
<div>
<Text variant="h2" weight="medium">
Cinny Mod
<span className="text text-b3" style={{ margin: '0 var(--sp-extra-tight)' }}>{`v${cons.version}.5114514`}</span>
<span className="text text-b3" style={{ margin: '0 var(--sp-extra-tight)' }}>{`v${cons.version}.52`}</span>
</Text>
<Text>Yet another matrix client</Text>
<Text>Modded By WHK(a.k.a CroiX) with magic & love</Text>
+1 -1
View File
@@ -29,7 +29,7 @@ function mathHtml(wrap, node) {
return htmlTag(wrap, htmlTag('code', sanitizeText(node.content)), { 'data-mx-maths': node.content });
}
const emojiRegex = /^:([\w-]+):/;
const emojiRegex = /^:([^:]+):/;
const plainRules = {
Array: {