From 936698ca4641d4e8d01c97dad602da69e1569889 Mon Sep 17 00:00:00 2001 From: MarekWo Date: Mon, 19 Jan 2026 10:15:35 +0100 Subject: [PATCH] feat: Add Quote button to chat messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a Quote button next to Reply that allows quoting a message. - Messages ≤20 bytes are quoted in full - Longer messages are truncated with "..." - Format: @[Username] "quoted text" - Uses UTF-8 byte counting for accurate truncation Co-Authored-By: Claude Opus 4.5 --- app/static/js/app.js | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/app/static/js/app.js b/app/static/js/app.js index afa8fff..8a3effc 100644 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -683,6 +683,9 @@ function createMessageElement(msg) { + ${contactsGeoCache[msg.sender] ? `