diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-01-25 17:21:04 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-01-25 17:21:04 +0200 |
| commit | acf87efce976744d61165e0b0174a1fadccfb779 (patch) | |
| tree | 6ff2864f4550b6050ec816bc0b5568f3bf24cc82 /internal/client/ui/ui.go | |
| parent | 5117d4ddda8c356203bfb05bb4fd242c8a803e51 (diff) | |
Added the ability to ban client-side from the memberslist
Diffstat (limited to 'internal/client/ui/ui.go')
| -rw-r--r-- | internal/client/ui/ui.go | 6 |
1 files changed, 6 insertions, 0 deletions
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) |
