Don't use body of memo as subject anymore

This commit is contained in:
Hanh 2023-03-13 21:15:51 +10:00
parent ee76725695
commit f11cbdb28e
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ pub fn decode_memo(memo: &str, recipient: &str, timestamp: u32, height: u32) ->
ZMessage {
sender: None,
recipient: recipient.to_string(),
subject: memo_lines[0].chars().take(20).collect(),
subject: String::new(),
body: memo.to_string(),
timestamp,
height,