mirror of
https://codeberg.org/cage/tinmop/
synced 2024-12-27 00:12:31 +01:00
- [fediverse] used quoted lines in reply's text.
This commit is contained in:
parent
053dc9aafc
commit
754cc80bb4
@ -2103,7 +2103,7 @@ local file paths."
|
||||
:exclusive t))
|
||||
|
||||
(defun init-main-window (starting-iri)
|
||||
(setf gui:*debug-tk* nil)
|
||||
(setf gui:*debug-tk* t)
|
||||
(gui:with-nodgui (:title +program-name+ :debugger-class 'gui:graphical-condition-handler)
|
||||
(icons:load-icons)
|
||||
(setf gui-goodies:*toplevel* gui:*tk*)
|
||||
|
@ -1381,11 +1381,14 @@ It an existing file path is provided the command will refuse to run."
|
||||
;; in db (folder, timeline).
|
||||
(when-let* ((message (db:find-message-id reply-id))
|
||||
(reply-username (db:row-message-username message))
|
||||
(quoted-text (db:row-message-rendered-text message))
|
||||
(lines (split-lines quoted-text))
|
||||
(rendered-text (db:row-message-rendered-text message))
|
||||
(lines (split-lines rendered-text))
|
||||
(quote-mark (swconf:quote-char))
|
||||
(quoted-lines (mapcar (lambda (a) (strcat quote-mark a))
|
||||
lines)))
|
||||
(quoted-text (strcat quote-mark
|
||||
(join-with-strings lines
|
||||
(format nil
|
||||
"~%~a"
|
||||
quote-mark)))))
|
||||
(with-open-file (stream
|
||||
file
|
||||
:if-exists :append
|
||||
|
Loading…
Reference in New Issue
Block a user