diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.27k stars 40 forks source link

Leaving a server should cause the space it occupied in sidebar to be freed #192

Open UInt2048 opened 10 months ago

UInt2048 commented 10 months ago

The vacant space here is a server that I left (via the website). While I haven't tried signing out and back in (aside from the re-signing in you have to do after updating), it would be nice if that weren't necessary to free the spot.

The below screenshot was taken with v0.0.15 (go install -v github.com/diamondburned/gtkcord4@latest). I updated to the nightly v0.0.16-0.20231117104602-87274e457c67 (although I got a warning go/pkg/mod/github.com/diamondburned/gotkit@v0.0.0-20231117094938-ace9cfa5e044/gtkutil/gtkutil.go:341:26: undefined: atomic.Int32) and the issue is still there.

Screenshot showing vacant space ![image](https://github.com/diamondburned/gtkcord4/assets/46784000/e6708e44-40d0-4c83-b8dd-afdedb2d9a55)