mirror of
https://github.com/mamoe/mirai.git
synced 2026-08-19 12:43:32 +08:00
[core] dont pass groupUin to RefineContextKey.GroupIdOrZero (#2794)
This commit is contained in:
@@ -75,7 +75,7 @@ internal class RoamingMessagesImplGroup(
|
||||
SimpleRefineContext(
|
||||
RefineContextKey.MessageSourceKind to MessageSourceKind.GROUP,
|
||||
RefineContextKey.FromId to it.msgHead.fromUin,
|
||||
RefineContextKey.GroupIdOrZero to contact.uin,
|
||||
RefineContextKey.GroupIdOrZero to contact.id,
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ internal class GroupMessageProcessor(
|
||||
mutableMapOf(
|
||||
RefineContextKey.MessageSourceKind to MessageSourceKind.GROUP,
|
||||
RefineContextKey.FromId to sender.uin,
|
||||
RefineContextKey.GroupIdOrZero to group.uin,
|
||||
RefineContextKey.GroupIdOrZero to group.id,
|
||||
)
|
||||
)
|
||||
),
|
||||
@@ -195,7 +195,7 @@ internal class GroupMessageProcessor(
|
||||
mutableMapOf(
|
||||
RefineContextKey.MessageSourceKind to MessageSourceKind.GROUP,
|
||||
RefineContextKey.FromId to sender.uin,
|
||||
RefineContextKey.GroupIdOrZero to group.uin,
|
||||
RefineContextKey.GroupIdOrZero to group.id,
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user