1
0
Fork 0

- added mention only if non-nil (when sending a status).

This commit is contained in:
cage 2020-09-24 20:49:18 +02:00
parent acf8579fc5
commit dee8b18b9c
1 changed files with 8 additions and 2 deletions

View File

@ -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