Fix filter states when adding columns

This fixes various issues with filter states when adding columns. We now
maintain multiple states per relay so that we don't lose track of
anything.

Fixes: https://github.com/damus-io/notedeck/issues/431
Fixes: https://github.com/damus-io/notedeck/issues/359
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin committed 2024-11-14 15:25:08 -08:00
1 parent acadc4a9d9
commit 01bedac710
7 files changed
+451 -301

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ impl<'a> PoolEvent<'a> {
pub fn into_owned(self) -> PoolEventBuf {
PoolEventBuf {
relay: self.relay.to_owned(),
event: self.event
event: self.event,
}
}
}