Fix voice to_sym

pull/6827/head
Oliver Günther 7 years ago
parent d4406f038d
commit b9c8151c9d
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      lib/open_project/two_factor_authentication/token_strategy/message_bird.rb

@ -148,7 +148,7 @@ module OpenProject::TwoFactorAuthentication
pause = ''
# Output pauses for TTS in voice mode
if channel == :voice
if channel.to_sym == :voice
token_value = token_value.split('').join('<break time="400ms"/>')
pause = '<break time="500ms"/>'
end

Loading…
Cancel
Save