Add source to invoice criteria. Modify invoice rules to get service fees from... #1701

Merged
arcticzero merged 217 commits from 746-resq-2-0-final into master 2023-11-22 08:54:48 +00:00
Showing only changes of commit ddde274fdc - Show all commits

View file

@ -85,7 +85,7 @@ class MQTTClient
$phone_num = $sess['data']->getPhoneNumber();
// use appropriate prefix so we have different channel names for new api
$prefix = $sess->legacy ? self::PREFIX : self::PREFIX_APIv2;
$prefix = $sess['legacy'] ? self::PREFIX : self::PREFIX_APIv2;
$channel = $prefix . $phone_num;
error_log("SENDING TO CHANNEL: " . $channel);