Fix for bug introduced in previous commit, where tic files where queued without the address prefix

This commit is contained in:
2023-09-05 20:41:41 +12:00
parent 3cd0deada0
commit 63a9c06fb0
5 changed files with 15 additions and 8 deletions

View File

@@ -36,8 +36,10 @@ final class Item extends Receive
case 'exists':
return Storage::disk(self::LOCATION)->exists($this->rel_name);
case 'stor_name':
return sprintf('%04X-%s',$this->ao->id,$this->recvas);
case 'rel_name':
return sprintf('%s/%04X-%s',config('app.fido'),$this->ao->id,$this->recvas);
return sprintf('%s/%s',config('app.fido'),$this->stor_name);
case 'full_name':
return Storage::disk(self::LOCATION)->path($this->rel_name);