mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-29 01:18:44 +00:00
Merge branch 'main' of ssh://codeberg.org/MelodyChat/Fermi into Esther1024-lizzie/link-icon
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user