Skip to content

Group and friend request handlers lose operator identity #3806

Description

@FGadvancer

Description

When a group application is accepted or rejected, the persisted group request does not reliably retain the handler user ID and may write the handled message under the wrong field name. As a result, clients and administrators cannot identify who processed the request, and the handled message can be missing from the stored request.

Similarly, refusing a friend request stores the refusal result and time but leaves handlerUserID empty, so the operator identity is lost.

Expected behavior

Persist the acting operator in handle_user_id / handlerUserID for both request types, and persist group request fields using the model field names (handled_msg, handle_result, handle_user_id, and handled_time).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions