Skip to content

Commit

Permalink
Merge pull request #315 from ywmoyue/dev
Browse files Browse the repository at this point in the history
4.6.15
  • Loading branch information
ywmoyue authored Sep 16, 2023
2 parents 238ea41 + 55473ee commit 3e028fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/BiliLite.UWP/BiliLite.UWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1038,9 +1038,6 @@
<PackageReference Include="AutoMapper">
<Version>10.1.1</Version>
</PackageReference>
<PackageReference Include="Brotli.NET">
<Version>2.1.1</Version>
</PackageReference>
<PackageReference Include="DanmakuFrostMaster.muyan">
<Version>1.0.2</Version>
</PackageReference>
Expand Down
8 changes: 2 additions & 6 deletions src/BiliLite.UWP/Modules/Live/LiveMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
using System.ComponentModel;
using BiliLite.Models.Common;
using BiliLite.Services;
using BiliLite.Extensions;
using System.IO.Compression;
using Brotli;
using Google.Protobuf.WellKnownTypes;

/*
* 参考文档:
Expand Down Expand Up @@ -163,7 +160,7 @@ await ws.SendAsync(EncodeData(JsonConvert.SerializeObject(new
uid = uid,
buvid = buvid,
key = token,
protover = 3,
protover = 2,
//暂时不要加上platform,否则未登录时会隐藏用户名
//platform = "web"
}), 7), WebSocketMessageType.Binary, true, CancellationToken.None);
Expand Down Expand Up @@ -476,8 +473,7 @@ private byte[] DecompressDataWithDeflate(byte[] data)
/// <returns></returns>
private byte[] DecompressDataWithBrotli(byte[] data)
{
var decompressData = data.DecompressFromBrotli();
return decompressData;
throw new NotImplementedException();
}

public void Dispose()
Expand Down

0 comments on commit 3e028fd

Please sign in to comment.