bhcli

A TUI for chatting on LE PHP Chats (onion)
git clone https://git.dasho.dev/n0tr1v/bhcli.git
Log | Files | Refs | README

commit 91f66023c4893f402eaf3735a921e0ef5bee216c
parent 297c8a8b06542e26ef6ee160b7907aaffe2d7537
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun,  2 Apr 2023 01:25:13 -0700

optim

Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -659,7 +659,7 @@ impl LeChatPHPClient { old_msg_ptr += 1; new_msg_ptr += 1; } else if new_parsed_dt == parsed_dt { - if old_msg.text.text() != new_msg.text.text() { + if old_msg.text != new_msg.text { messages.insert(old_msg_ptr, new_msg.clone()); old_msg_ptr += 1; }