git » sdk » commit 63b683a

Snip blank and quote in preview

author Stephen Paul Weber
2026-02-09 20:37:57 UTC
committer Stephen Paul Weber
2026-02-09 20:37:57 UTC
parent 3b9de5e01f4ac825861e47503a99ea65824951f3

Snip blank and quote in preview

borogove/Chat.hx +1 -1

diff --git a/borogove/Chat.hx b/borogove/Chat.hx
index 37ca2c9..3736aeb 100644
--- a/borogove/Chat.hx
+++ b/borogove/Chat.hx
@@ -533,7 +533,7 @@ abstract class Chat {
 			case MessageCall:
 				lastMessage.isIncoming() ? "Incoming Call" : "Outgoing Call";
 			default:
-				lastMessage.text;
+				lastMessage.text.split("\n").find(line -> !~/(^[ \n]*$)|(^>)/.match(line));
 		}
 	}