lints
This commit is contained in:
@@ -697,7 +697,7 @@ class StatsStore(StateDeltasStore):
|
||||
txn: LoggingTransaction,
|
||||
) -> Tuple[List[JsonDict], int]:
|
||||
filters = []
|
||||
args = []
|
||||
args: list = []
|
||||
|
||||
if search_term:
|
||||
filters.append("(lmr.user_id LIKE ? OR displayname LIKE ?)")
|
||||
|
||||
@@ -424,8 +424,8 @@ class UserDirectoryBackgroundUpdateStore(StateDeltasStore):
|
||||
keyvalues={},
|
||||
)
|
||||
profiles = {
|
||||
row['full_user_id']: _UserDirProfile(
|
||||
row['full_user_id'],
|
||||
row["full_user_id"]: _UserDirProfile(
|
||||
row["full_user_id"],
|
||||
row["displayname"],
|
||||
row["avatar_url"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user