Skip to content

Commit

Permalink
rm cn
Browse files Browse the repository at this point in the history
  • Loading branch information
NepPure committed Jan 15, 2024
1 parent 7904313 commit 7e05f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lagrange.OneBot/Core/Message/Entity/ImageSegment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void Build(MessageBuilder builder, ISegment segment)

if (imageSegment.Url.StartsWith("file"))
{
// 修复windows下斜杠替换不完全导致的路径问题,同时兼容协议缩写的情况:https://github.com/LagrangeDev/Lagrange.Core/issues/69
// see: https://github.com/LagrangeDev/Lagrange.Core/issues/69
string path = imageSegment.Url.Replace("file:///", "");
path = path.Replace("file://", "");
path = path.Replace("file:/", "");
Expand Down

0 comments on commit 7e05f7d

Please sign in to comment.