summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-03-13 17:06:23 +0000
committerGitHub <noreply@github.com>2024-03-13 17:06:23 +0000
commit9b5eef95adbe00936f3c33522c42bcd7d50dd01b (patch)
treed0d15c22086afa9b5e3dd16581d6bcc96eefefb2 /synapse
parentBump mypy from 1.5.1 to 1.8.0 (#16901) (diff)
downloadsynapse-9b5eef95adbe00936f3c33522c42bcd7d50dd01b.tar.xz
Bump ruff from 0.1.14 to 0.3.2 (#16994)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/synapse_rust/events.pyi7
1 files changed, 0 insertions, 7 deletions
diff --git a/synapse/synapse_rust/events.pyi b/synapse/synapse_rust/events.pyi

index 6ec07e2d73..69837617f5 100644 --- a/synapse/synapse_rust/events.pyi +++ b/synapse/synapse_rust/events.pyi
@@ -56,7 +56,6 @@ class EventInternalMetadata: (Added in synapse 0.99.0, so may be unreliable for events received before that) """ - ... def get_send_on_behalf_of(self) -> Optional[str]: """Whether this server should send the event on behalf of another server. @@ -65,7 +64,6 @@ class EventInternalMetadata: returns a str with the name of the server this event is sent on behalf of. """ - ... def need_to_check_redaction(self) -> bool: """Whether the redaction event needs to be rechecked when fetching @@ -77,7 +75,6 @@ class EventInternalMetadata: If the sender of the redaction event is allowed to redact any event due to auth rules, then this will always return false. """ - ... def is_soft_failed(self) -> bool: """Whether the event has been soft failed. @@ -88,7 +85,6 @@ class EventInternalMetadata: 2. They should not be added to the forward extremities (and therefore not to current state). """ - ... def should_proactively_send(self) -> bool: """Whether the event, if ours, should be sent to other clients and @@ -97,7 +93,6 @@ class EventInternalMetadata: This is used for sending dummy events internally. Servers and clients can still explicitly fetch the event. """ - ... def is_redacted(self) -> bool: """Whether the event has been redacted. @@ -105,8 +100,6 @@ class EventInternalMetadata: This is used for efficiently checking whether an event has been marked as redacted without needing to make another database call. """ - ... def is_notifiable(self) -> bool: """Whether this event can trigger a push notification""" - ...