Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix some lints
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed Feb 5, 2021
1 parent f1f3fb0 commit e7d7f92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion changelog.d/9247.feature
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Implement MSC2716 to support backfilling history into rooms
Implement MSC2716 to support backfilling history into rooms.
6 changes: 5 additions & 1 deletion synapse/handlers/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,11 @@ async def create_and_send_nonmember_event(
prev_events = event_dict["prev_events"]

event, context = await self.create_event(
requester, event_dict, txn_id=txn_id, prev_event_ids=prev_events, inherit_depth=inherit_depth
requester,
event_dict,
txn_id=txn_id,
prev_event_ids=prev_events,
inherit_depth=inherit_depth,
)

assert self.hs.is_mine_id(event.sender), "User must be our own: %s" % (
Expand Down
2 changes: 1 addition & 1 deletion synapse/rest/client/v1/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
parse_integer,
parse_integer_from_args,
parse_json_object_from_request,
parse_strings_from_args,
parse_string,
parse_strings_from_args,
)
from synapse.logging.opentracing import set_tag
from synapse.rest.client.transactions import HttpTransactionCache
Expand Down

0 comments on commit e7d7f92

Please sign in to comment.