[core] dont pass groupUin to RefineContextKey.GroupIdOrZero (#2794)

This commit is contained in:
StageGuard 2023-09-09 00:05:14 +08:00 committed by GitHub
parent 3937bca234
commit b238d13a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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,
)
)
}

View File

@ -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,
)
)
),