Compare commits

...
Author SHA1 Message Date
Alex Emmet
de1477a61e "Add" README 2026-04-02 23:06:49 +02:00
Alex Emmet
4d1d333fc0 [Fix] propper send_message response 2026-04-02 22:52:26 +02:00
Alex Emmet
d908789f67 Merge branch 'main' of ssh://git.methanium.net/tensamin/iota 2026-04-02 22:45:34 +02:00
Alex Emmet
19c8c14fb8 [Fix] Propper message storage and loading
[Todo] Respond to Message Send
2026-04-01 23:45:14 +02:00
Alex Emmet
c6a59abd25 [Fix] Communities should be stored and loaded propperly 2026-03-31 00:00:45 +02:00
Alex Emmet
de8b03bc84 [Add] Propper logging design 2026-03-30 21:52:45 +02:00
Alex Emmet
d9339018af [Add] better Logging in UI 2026-03-30 01:42:10 +02:00
Alex Emmet
b08fcfaca2 Merge branch 'main' of github.com:Tensamin/Iota 2026-03-29 22:28:37 +02:00
Alex Emmet
96e5ed89d6 [Add] DB util
[Fix] Chat files & Chats util
[Add] message Height
2026-03-29 22:28:23 +02:00
Alois
e0d4c2d12c
Update README.md 2026-03-29 00:21:27 +01:00
2 changed files with 8 additions and 9 deletions

View file

@ -1 +1,6 @@
# ⚠️ Moved to [git.methanium.net](https://git.methanium.net/tensamin/iota) ⚠️ # IOTA
A lightweight, Rust-based TUI and service orchestrator for Tensamin IOTA.
Iota manages users and stores their messages and communities. It can be run in a centralised, decentralised or hybrid mode.
The Iota is a work in progress.

View file

@ -464,15 +464,9 @@ impl OmikronConnection {
); );
} }
// Incoming stored message: store for the recipient, attempt local delivery, notify sender. // Incoming storsed message: store for the recipient, attempt local delivery, notify sender.
if cv.is_type(CommunicationType::message_send) { if cv.is_type(CommunicationType::message_send) {
let sender_id: i64 = if let Some(n) = cv.get_data(DataTypes::sender_id).as_number() { let sender_id: u64 = cv.get_sender();
n as i64
} else if let Some(s) = cv.get_data(DataTypes::sender_id).as_str() {
s.parse::<i64>().unwrap_or(0)
} else {
0
};
// parse receiver_id (the storage owner for this incoming message) // parse receiver_id (the storage owner for this incoming message)
let receiver_id: i64 = if let Some(n) = cv.get_data(DataTypes::receiver_id).as_number() let receiver_id: i64 = if let Some(n) = cv.get_data(DataTypes::receiver_id).as_number()