mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-26 08:30:11 +08:00
[core] dont pass groupUin to RefineContextKey.GroupIdOrZero (#2794)
This commit is contained in:
parent
3937bca234
commit
b238d13a32
@ -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,
|
||||
)
|
||||
)
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user