synapse/api/auth.py
def check_redaction(self, event, auth_events):
        """Check whether the event sender is allowed to redact the target event.

        Returns:
            True if the the sender is allowed to redact the target event if the
            target event was created by them.
            False if the sender is allowed to redact the target event with no
            further checks.

        Raises:
            AuthError if the event sender is definitely not allowed to redact
            the target event.
        """
        return event_auth.check_redaction(event, auth_events)
Check whether the event sender is allowed to redact the target event.

        Returns:
            True if the the sender is allowed to redact the target event if the
            target event was created by them.
            False if the sender is allowed to redact the target event with no
            further checks.

        Raises:
            AuthError if the event sender is definitely not allowed to redact
            the target event.
        
Check whether the event sender is allowed to redact the target event.
Returns:
True if the the sender is allowed to redact the target event if the
target event was created by them.
False if the sender is allowed to redact the target event with no
further checks.

AuthError if the event sender is definitely not allowed to redact
the target event.
Check whether the event sender is allowed to redact the target event . Returns : True if the the sender is allowed to redact the target event if the target event was created by them . False if the sender is allowed to redact the target event with no further checks . AuthError if the event sender is definitely not allowed to redact the target event .
def check_redaction(self, event, auth_events):
        return event_auth.check_redaction(event, auth_events)
def check_redaction ( self , event , auth_events ) : return event_auth . check_redaction ( event , auth_events )
Check whether the event sender is allowed to redact the target event.
Check whether the event sender is allowed to redact the target event .
"""Check whether the event sender is allowed to redact the target event.

        Returns:
            True if the the sender is allowed to redact the target event if the
            target event was created by them.
            False if the sender is allowed to redact the target event with no
            further checks.

        Raises:
            AuthError if the event sender is definitely not allowed to redact
            the target event.
        """
self
event
auth_events