Skip to content

Commit

Permalink
[Core] Fix group mute always is false (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
Decrabbityyy authored Oct 21, 2024
1 parent b42d7c3 commit 0b5e038
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private static void ProcessEvent0x2DC(Span<byte> payload, PushMsg msg, List<Prot
var mute = Serializer.Deserialize<GroupMute>(content.AsSpan());
if (mute.Data.State.TargetUid == null)
{
var groupMuteEvent = GroupSysMuteEvent.Result(mute.GroupUin, mute.OperatorUid, mute.Data.State.Duration == uint.MaxValue);
var groupMuteEvent = GroupSysMuteEvent.Result(mute.GroupUin, mute.OperatorUid, mute.Data.State.Duration !=0);
extraEvents.Add(groupMuteEvent);
}
else
Expand Down

0 comments on commit 0b5e038

Please sign in to comment.