Fix file name
This commit is contained in:
parent
3e2268e524
commit
deaf8dcd95
@ -416,11 +416,6 @@ func (col *lazyFetchCollection[C, I]) streamItems(ctx context.Context, errs *fau
|
|||||||
col.stream <- storeItem
|
col.stream <- storeItem
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(pandeyabs): Persist as .data file for conversations only, not for channels
|
|
||||||
// i.e. only add the .data suffix for conv backups.
|
|
||||||
// This is safe for now since channels don't utilize lazy reader yet.
|
|
||||||
id += metadata.DataFileSuffix
|
|
||||||
|
|
||||||
col.stream <- data.NewLazyItemWithInfo(
|
col.stream <- data.NewLazyItemWithInfo(
|
||||||
ictx,
|
ictx,
|
||||||
&lazyItemGetter[C, I]{
|
&lazyItemGetter[C, I]{
|
||||||
@ -432,7 +427,7 @@ func (col *lazyFetchCollection[C, I]) streamItems(ctx context.Context, errs *fau
|
|||||||
contains: col.contains,
|
contains: col.contains,
|
||||||
parentPath: col.LocationPath().String(),
|
parentPath: col.LocationPath().String(),
|
||||||
},
|
},
|
||||||
id,
|
id+metadata.DataFileSuffix,
|
||||||
modTime,
|
modTime,
|
||||||
col.Counter,
|
col.Counter,
|
||||||
el)
|
el)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user