mirror of https://codeberg.org/cage/tinmop/
- added mention only if non-nil (when sending a status).
This commit is contained in:
parent
acf8579fc5
commit
dee8b18b9c
|
@ -660,8 +660,14 @@
|
||||||
(let ((exceeding-characters (ui:message-exceeds-server-limit-p body)))
|
(let ((exceeding-characters (ui:message-exceeds-server-limit-p body)))
|
||||||
(if exceeding-characters
|
(if exceeding-characters
|
||||||
(ui:exceeding-characters-notify exceeding-characters)
|
(ui:exceeding-characters-notify exceeding-characters)
|
||||||
(progn
|
(let ((actual-message-body (if mentions
|
||||||
(client:send-status (format nil "~a~%~a" mentions body)
|
(format nil
|
||||||
|
"~a~a~%~a"
|
||||||
|
+mention-prefix+
|
||||||
|
mentions
|
||||||
|
body)
|
||||||
|
body)))
|
||||||
|
(client:send-status actual-message-body
|
||||||
reply-to
|
reply-to
|
||||||
attachments
|
attachments
|
||||||
subject
|
subject
|
||||||
|
|
Loading…
Reference in New Issue