diff options
author | 2025-04-03 03:41:38 +0100 | |
---|---|---|
committer | 2025-04-03 03:41:38 +0100 | |
commit | 91f1994af940085d5d475a97820900ebbf0eb553 (patch) | |
tree | 6aab872f71d17a785d3d9286742fef38983d274c /filamento/src/pep.rs | |
parent | 9ce3827a7d25714d17f266f0f50bb29f41090175 (diff) | |
download | luz-91f1994af940085d5d475a97820900ebbf0eb553.tar.gz luz-91f1994af940085d5d475a97820900ebbf0eb553.tar.bz2 luz-91f1994af940085d5d475a97820900ebbf0eb553.zip |
feat: better message handling, pep publish, xep_0172: nick
Diffstat (limited to 'filamento/src/pep.rs')
-rw-r--r-- | filamento/src/pep.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/filamento/src/pep.rs b/filamento/src/pep.rs new file mode 100644 index 0000000..c71d843 --- /dev/null +++ b/filamento/src/pep.rs @@ -0,0 +1,17 @@ +// in commandmessage +// pub struct Publish { +// item: Item, +// node: Option<String>, +// // no need for node, as item has the node +// } +// +// in updatemessage +// pub struct Event { +// from: JID, +// item: Item, +// } + +#[derive(Clone, Debug)] +pub enum Item { + Nick(String), +} |