Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
@@ -71,7 +71,7 @@ func NewEmail(messageID, inReplyTo, subject, from, to, text, html string, files
|
|||||||
return email
|
return email
|
||||||
}
|
}
|
||||||
|
|
||||||
// Content converts email to matrix event content
|
// Content converts the email object to a Matrix event content
|
||||||
func (e *Email) Content(threadID id.EventID, options *ContentOptions) *event.Content {
|
func (e *Email) Content(threadID id.EventID, options *ContentOptions) *event.Content {
|
||||||
var text strings.Builder
|
var text strings.Builder
|
||||||
if options.Sender {
|
if options.Sender {
|
||||||
|
|||||||
Reference in New Issue
Block a user