1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-02-19 08:30:35 +01:00

- [fediverse] fixed regression: missing quoted text when replying to a messages without any mention.

This commit is contained in:
cage 2024-09-23 19:51:11 +02:00
parent 45102d8dc4
commit c182ed743e

View File

@ -1385,8 +1385,8 @@ It an existing file path is provided the command will refuse to run."
(lines (split-lines quoted-text))
(quote-mark (swconf:quote-char))
(quoted-lines (mapcar (lambda (a) (strcat quote-mark a))
lines))
(mentioned-users-table
lines)))
(let ((mentioned-users-table
(message-rendering-utils:usernames->usernames-table quoted-text)))
(with-open-file (stream file
:if-exists :append
@ -1397,7 +1397,7 @@ It an existing file path is provided the command will refuse to run."
(let ((line-fixed-mentions
(message-rendering-utils:local-mention->acct line
mentioned-users-table)))
(format stream "~a~%" line-fixed-mentions)))))))
(format stream "~a~%" line-fixed-mentions))))))))
(add-signature (file)
(when-let ((signature (message-rendering-utils:signature)))
(with-open-file (stream