summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-06-04 12:18:48 -0500
committercitrons <citrons@mondecitronne.com>2025-06-07 16:02:18 -0500
commit90d48cc00ff4d0d1804bed144136dddf5c3e1c70 (patch)
treee1d1020b1ab863cd726a21de539d0f60ee57ed3f
parenta11ceeb5b697114a3ec2a0436d4615e2385be4c2 (diff)
get more history if channel permissions change
-rw-r--r--client/channel_window.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/channel_window.go b/client/channel_window.go
index a9a403e..cb00761 100644
--- a/client/channel_window.go
+++ b/client/channel_window.go
@@ -65,6 +65,9 @@ func (cw *channelWindow) isGone(uid string) bool {
}
func (cw *channelWindow) put(msg proto.Object) {
+ if msg.Kind == "membership" {
+ cw.endOfHistory = false
+ }
cw.Buf.Add(channelMsg {msg, cw})
}