Implement basic chat functionality

This commit is contained in:
NGnius (Graham) committed 2025-04-14 21:17:41 -04:00
1 parent 4d2ddaeafb
commit 792a6362e3
37 files changed
+1119 -34

No files matched your search

@@ -0,0 +1,8 @@
use polariton::operation::Typed;
pub trait ChatUser {
fn subscribed_channels(&self) -> Typed<()>;
fn subscribed_channels_strings(&self) -> Vec<String>;
fn add_subscribed_channel(&self, channel: String, channel_ty: crate::data::channel::ChatChannelType) -> Typed<()>;
fn remove_subscribed_channel(&self, channel: String, channel_ty: crate::data::channel::ChatChannelType) -> bool;
}