Update cached channel state from notifications.

This commit is contained in:
Paul Makles
2020-08-10 15:29:48 +02:00
parent d95982fb54
commit aba0db268a
3 changed files with 53 additions and 29 deletions

View File

@@ -38,4 +38,8 @@ impl Notification {
unreachable!()
}
}
pub fn push_to_cache(&self) {
crate::database::channel::process_event(&self);
}
}