Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de1477a61e | ||
|
|
4d1d333fc0 | ||
|
|
d908789f67 | ||
|
|
19c8c14fb8 | ||
|
|
c6a59abd25 | ||
|
|
de8b03bc84 | ||
|
|
d9339018af | ||
|
|
b08fcfaca2 | ||
|
|
96e5ed89d6 | ||
|
|
e0d4c2d12c |
2 changed files with 8 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
let sender_id: i64 = if let Some(n) = cv.get_data(DataTypes::sender_id).as_number() {
|
||||
n as i64
|
||||
} else if let Some(s) = cv.get_data(DataTypes::sender_id).as_str() {
|
||||
s.parse::<i64>().unwrap_or(0)
|
||||
} else {
|
||||
0
|
||||
};
|
||||
let sender_id: u64 = cv.get_sender();
|
||||
|
||||
// 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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue