Skip to content

Commit

Permalink
adjusting SMS disclaimer by moving it to later in the callflow where …
Browse files Browse the repository at this point in the history
…it would always be called
  • Loading branch information
dgershman committed Jul 3, 2023
1 parent bdb8aff commit 58a4c33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions legacy/input-method.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@
<Pause length="1"/>
<?php }

if ($searchDescription == word('meetings') && !json_decode(setting("sms_ask")) && !json_decode(setting("sms_disable"))) { ?>
<Say voice="<?php echo voice(); ?>" language="<?php echo setting('language') ?>">
<?php echo word('search_results_by_sms') ?>
</Say>
<?php }

$locationSearchMethodSequence = getDigitMapSequence('digit_map_location_search_method');
foreach ($locationSearchMethodSequence as $digit => $method) {
if ($method == LocationSearchMethod::VOICE) { ?>
Expand Down
6 changes: 6 additions & 0 deletions legacy/meeting-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
}
}

if (!json_decode(setting("sms_ask")) && !json_decode(setting("sms_disable"))) { ?>
<Say voice="<?php echo voice(); ?>" language="<?php echo setting('language') ?>">
<?php echo word('search_results_by_sms') ?>
</Say>
<?php }

$results_counter = 0;
for ($i = 0; $i < count($filtered_list); $i++) {
$results = getResultsString($filtered_list[$i]);
Expand Down

0 comments on commit 58a4c33

Please sign in to comment.