fix file uploads from incoming emails into threads
This commit is contained in:
parent
ac9c27aa32
commit
3f1fd00fb6
1 changed files with 0 additions and 1 deletions
|
|
@ -128,7 +128,6 @@ func (b *Bot) IncomingEmail(ctx context.Context, email *email.Email) error {
|
|||
|
||||
b.setThreadID(roomID, email.MessageID, threadID)
|
||||
b.setLastEventID(roomID, threadID, eventID)
|
||||
threadID = eventID
|
||||
|
||||
if !cfg.NoFiles() {
|
||||
b.sendFiles(ctx, roomID, email.Files, cfg.NoThreads(), threadID)
|
||||
|
|
|
|||
Loading…
Reference in a new issue