Add ability to mark a message as ephemeral and set it with title changes
This commit is contained in:
@@ -137,7 +137,9 @@ func (s *server) Listen() {
|
||||
|
||||
// Store in the message history
|
||||
msg.SetDefaults()
|
||||
addMessage(msg)
|
||||
if !msg.Ephemeral {
|
||||
addMessage(msg)
|
||||
}
|
||||
|
||||
// Send webhooks
|
||||
go webhooks.SendChatEvent(msg)
|
||||
|
||||
Reference in New Issue
Block a user