mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-09-23 01:10:45 +02:00
add send .ics as calendar invite
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -26,6 +26,10 @@ type Attachment struct {
|
||||
Description string `gorm:";"`
|
||||
Filename string `gorm:"not null;index"`
|
||||
EmbeddedContent bool `gorm:"not null;default:false;index"`
|
||||
// SendAsCalendar sends an ics file as a text/calendar; method=REQUEST
|
||||
// alternative part so Outlook and Exchange Online render it as a native
|
||||
// calendar invitation instead of a plain attachment
|
||||
SendAsCalendar bool `gorm:"not null;default:false;index"`
|
||||
}
|
||||
|
||||
func (Attachment) TableName() string {
|
||||
|
||||
Reference in New Issue
Block a user