mirror of
https://github.com/Kyren223/eko.git
synced 2026-07-15 00:10:25 +00:00
Fixed a bug where the client wouldn't update the server after removing a
user conversation
This commit is contained in:
@@ -164,6 +164,11 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
|
||||
if m.index == len(state.Data.Peers) {
|
||||
m.SetIndex(m.index - 1)
|
||||
}
|
||||
data := state.JsonUserData()
|
||||
return m, gateway.Send(&packet.SetUserData{
|
||||
Data: &data,
|
||||
User: nil,
|
||||
})
|
||||
|
||||
case "T":
|
||||
if m.index == -1 {
|
||||
|
||||
Reference in New Issue
Block a user