fix: allow users with a private profile to view their own posts

add: channels/messages models
This commit is contained in:
trisua 2025-04-24 19:06:30 -04:00
parent 0c814e95d7
commit 9e6c5c9726
6 changed files with 94 additions and 1 deletions

View file

@ -4,3 +4,10 @@ pub mod database;
pub mod model;
pub use database::DataManager;
/// Tells us if pubsub capabilities are provided (via Redis).
///
/// If we have access to pubsub, community channels/messages will be available.
///
/// This is mostly used a flag for the UI.
pub const PUBSUB_ENABLED: bool = cfg!(feature = "redis");