From acf87efce976744d61165e0b0174a1fadccfb779 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 25 Jan 2025 17:21:04 +0200 Subject: Added the ability to ban client-side from the memberslist --- internal/client/ui/ui.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/client/ui/ui.go') diff --git a/internal/client/ui/ui.go b/internal/client/ui/ui.go index d199fa1..746fdd5 100644 --- a/internal/client/ui/ui.go +++ b/internal/client/ui/ui.go @@ -14,6 +14,7 @@ import ( "github.com/kyren223/eko/internal/client/ui/colors" "github.com/kyren223/eko/pkg/assert" + "github.com/kyren223/eko/pkg/snowflake" ) const ( @@ -51,6 +52,11 @@ func Transition(model tea.Model) tea.Cmd { type QuitMsg struct{} +type BanPopupMsg struct { + Network snowflake.ID + User snowflake.ID +} + func AddBorderHeader(header string, headerOffset int, style lipgloss.Style, render string) string { b := style.GetBorderStyle() body := style.UnsetBorderTop().Render(render) -- cgit v1.3.1