Fix bot access to send messages under other persons (#8633)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2025-04-18 20:23:44 +04:00 committed by GitHub
parent eb86e24cb2
commit 7e6710660d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -325,7 +325,7 @@ export class TSessionManager implements SessionManager {
uuid: info.account, uuid: info.account,
socialIds: info.socialIds.map((it) => it._id), socialIds: info.socialIds.map((it) => it._id),
primarySocialId, primarySocialId,
fullSocialIds: [], fullSocialIds: info.socialIds,
role role
}, },
info, info,