Skip to content

Commit 2ebc4ba

Browse files
authored
[Milky] Passthrough IsAdd from API parameter for group reaction handling (#89)
1 parent 438358c commit 2ebc4ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lagrange.Milky/Api/Handler/Group/SendGroupMessageReactionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class SendGroupMessageReactionHandler(BotContext bot) : IEmptyResultApiHa
1212

1313
public async Task HandleAsync(SendGroupMessageReactionParameter parameter, CancellationToken token)
1414
{
15-
await _bot.SetGroupReaction(parameter.GroupId, (ulong)parameter.MessageSeq, parameter.Reaction, true);
15+
await _bot.SetGroupReaction(parameter.GroupId, (ulong)parameter.MessageSeq, parameter.Reaction, parameter.IsAdd);
1616
}
1717
}
1818

0 commit comments

Comments
 (0)