1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-01-05 01:26:59 +01:00

- prevented disappearing of text in a reblogged toot when the parent

status has empty 'content' field or has no attachments.
This commit is contained in:
cage 2020-05-17 22:29:43 +02:00
parent d86c1a6455
commit 38411e1a19

View File

@ -760,10 +760,10 @@ db:renumber-timeline-message-index."
(defun reblogged-data (reblogger-status)
(when-let* ((reblogged-id (db:row-message-reblog-id reblogger-status))
(reblogged-status (db:find-status-id reblogged-id))
(body (db:row-message-rendered-text reblogged-status))
(attachments (status-attachments->text reblogged-id)))
(values body attachments)))
(reblogged-status (db:find-status-id reblogged-id)))
(let ((body (db:row-message-rendered-text reblogged-status))
(attachments (status-attachments->text reblogged-id)))
(values body attachments))))
(defmethod open-message ((object thread-window))
(with-accessors ((row-selected-index row-selected-index)