fix: allow users with a private profile to view their own posts
add: channels/messages models
This commit is contained in:
parent
0c814e95d7
commit
9e6c5c9726
6 changed files with 94 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue