mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
Stripping weird UNC prefix from local path
This commit is contained in:
parent
fc6e517373
commit
11102c90cc
@ -95,7 +95,15 @@ namespace Acacia.Stubs.OutlookWrappers
|
||||
public string StoreID { get { return _item.StoreID; } }
|
||||
|
||||
public bool IsFileStore { get { return _item.IsDataFileStore; } }
|
||||
public string FilePath { get { return _item.FilePath; } }
|
||||
public string FilePath
|
||||
{
|
||||
get
|
||||
{
|
||||
// Sometimes local paths include a ? UNC prefix which complicates checking for local
|
||||
// folders. Strip that.
|
||||
return _item.FilePath?.StripPrefix(@"\\?\");
|
||||
}
|
||||
}
|
||||
|
||||
public void EmptyDeletedItems()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user