feat: Add "Copy message ID" option to message context menu

This commit is contained in:
HueByte
2026-07-16 05:38:41 +02:00
parent 6292e82cec
commit a3a413f0b1
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -630,6 +630,7 @@ public sealed partial class MainWindow : Runnable
if (line.MessageId is { } messageId)
{
items.Add(new MenuItem("Copy message ID", "", () => CopyToClipboard(messageId.ToString()), Key.Empty));
items.Add(new Line());
items.Add(new MenuItem("Delete message", "", () => ConfirmDeleteMessage(messageId), Key.Empty));
}
@@ -1,4 +1,4 @@
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
@@ -1,4 +1,4 @@
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
@@ -1,4 +1,4 @@
using System;
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable