git » sdk » commit e095cf1

Show whole message if nothing isn't quote

author Stephen Paul Weber
2026-03-03 20:16:25 UTC
committer Stephen Paul Weber
2026-03-03 20:16:25 UTC
parent 8e3891c5ee66bd2d7fa909b8bb156ea39837102a

Show whole message if nothing isn't quote

borogove/Chat.hx +1 -1

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