mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
count_daily_users failed if db was sqlite due to type failure - presumably this prevcented all sqlite homeservers reporting home
This commit is contained in:
parent
03a26e28d9
commit
9187e0762f
@ -260,7 +260,7 @@ class DataStore(RoomMemberStore, RoomStore,
|
||||
) u
|
||||
"""
|
||||
|
||||
txn.execute(sql, (yesterday,))
|
||||
txn.execute(sql, (str(yesterday),))
|
||||
count, = txn.fetchone()
|
||||
return count
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user