Merge branch 'main' of ssh://codeberg.org/MelodyChat/Fermi into Esther1024-lizzie/link-icon

This commit is contained in:
lizzie
2026-08-01 22:08:04 +00:00
3 changed files with 14 additions and 3 deletions
+9 -1
View File
@@ -492,7 +492,15 @@ class Group extends Channel {
);
this.groupcontextmenu.addSeperator(undefined, "dm");
this.groupcontextmenu.addButton(
I18n.DMs.copyURL(),
function (this: Group) {
navigator.clipboard.writeText(`${location.origin}/channels/@me/${this.id}`);
},
{
group: "id",
},
);
this.groupcontextmenu.addButton(
() => I18n.DMs.copyId(),
function (this: Group) {
+4 -2
View File
@@ -2487,13 +2487,14 @@ span.instanceStatus {
border-radius: 8px;
overflow: hidden;
height: 192px;
display: flex;
align-items: center;
justify-content: center;
.unknownfile {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
}
.messageimgdiv {
@@ -2561,6 +2562,7 @@ span.instanceStatus {
flex-shrink: 1;
text-wrap: auto;
overflow-y: auto;
word-break: break-all;
margin-right: 0.03in;
padding: 10px 0;
}
+1
View File
@@ -39,6 +39,7 @@
"DMs": {
"add": "Add someone to this DM",
"close": "Close DM",
"copyURL":"Copy DM URL",
"copyId": "Copy DM id",
"markRead": "Mark as read",
"name": "Direct Messages"