Skip to content

Commit

Permalink
fix: Change way that content disposition accessed (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
datawookie authored Jan 11, 2022
1 parent 1c29cb1 commit 8a8d0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ms_outlook_email.R
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ make_reply_comment.blastula_message <- function(comment)
make_reply_comment.envelope <- function(comment)
{
parts <- comment$parts
inline <- which(sapply(parts, function(p) p$header$content_disposition == "inline"))
inline <- which(sapply(parts, function(p) p$disposition == "inline"))
if(length(inline) > 1)
warning("Multiple inline sections found, only the first will be used", call.=FALSE)
req <- if(!is_empty(inline))
Expand Down

0 comments on commit 8a8d0e2

Please sign in to comment.