summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-29 14:26:31 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-29 14:26:31 +0300
commit6fd72c2415dd52977fef53db575cf62a85153cdd (patch)
tree68f7222fb710aec5c0cc9aeea15898b77f3bfe71 /plugins/NewStory/src/history_array.cpp
parent2293da320034052e5e9d5152f4929b4f653d8812 (diff)
better URL autodetect
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r--plugins/NewStory/src/history_array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp
index a0e2999cc2..04c1b44d64 100644
--- a/plugins/NewStory/src/history_array.cpp
+++ b/plugins/NewStory/src/history_array.cpp
@@ -394,7 +394,7 @@ void ItemData::load(bool bLoadAlways)
auto *pwszLocalName = blob.getLocalName();
if (ProtoGetAvatarFileFormat(pwszLocalName) != PA_FORMAT_UNKNOWN)
- buf.AppendFormat(L"[img]%s[/img]", pwszLocalName);
+ buf.AppendFormat(L"[img]file://%s[/img]", pwszLocalName);
else
buf.AppendFormat(L"[url]file://%s[/url]", pwszLocalName);
}