Open unhammer opened 2 years ago
Workaround:
(cl-defmethod slack-file-summary ((file slack-file) _ts team)
(if (slot-boundp file 'permalink)
(with-slots (mode permalink) file
(if (slack-file-deleted-p file)
"This file was deleted."
(let ((type (slack-file-type file))
(title (slack-file-title file)))
(format "uploaded this %s: %s <%s|open in browser>"
type
(slack-file-link-info (oref file id)
(slack-unescape title team))
permalink))))
(message "No permalink: %S" file)))
Describe the bug Files like create errors because they have no permalink nor title.
To Reproduce Steps to reproduce the behavior:
Backtrace
Expected behavior Open conversation as usual
Screenshots
how it looks on web:
Environment: