Skip to content

Commit 7634587

Browse files
committed
olddeps fix
1 parent d1b15f7 commit 7634587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapse/rest/client/sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from collections import defaultdict
2424
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Tuple, Union
2525

26-
import attrs
26+
import attr
2727

2828
from synapse.api.constants import AccountDataTypes, EduTypes, Membership, PresenceState
2929
from synapse.api.errors import Codes, StoreError, SynapseError
@@ -1254,7 +1254,7 @@ async def encode_extensions(
12541254
):
12551255
serialized_extensions["thread_subscriptions"] = {
12561256
"changes": [
1257-
attrs.asdict(change, filter=lambda _attr, v: v is not None)
1257+
attr.asdict(change, filter=lambda _attr, v: v is not None)
12581258
for change in extensions.thread_subscriptions.changed
12591259
]
12601260
}

0 commit comments

Comments
 (0)