Skip to content

Commit

Permalink
fixup! [#108] Skip over emoji blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastro committed Sep 8, 2023
1 parent 5524d26 commit 7a92f43
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/TzBot/Slack/API/MessageBlock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ extractPieces mBlocks = runWriter $ concat <$> mapM goMessageBlock mBlocks
Right (BEL2ElementText elementText) -> do
let etTextB = fromText elementText.etText
if (elementText.etStyle >>= styCode) == Just True

then
-- ignore inline code block
go Nothing (prependMbCurrentToPrevious mbCurPiece prevPieces) es
Expand Down

0 comments on commit 7a92f43

Please sign in to comment.