mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 15:01:23 +01:00
Add desc arg
This commit is contained in:
parent
56da835eaf
commit
d213d69fe3
1 changed files with 5 additions and 1 deletions
|
@ -137,7 +137,11 @@ class PusherStore(SQLBaseStore):
|
|||
users = yield self.get_users_in_room(room_id)
|
||||
|
||||
result = yield self._simple_select_many_batch(
|
||||
'pushers', 'user_name', users, ['user_name']
|
||||
table='pushers',
|
||||
column='user_name',
|
||||
iterable=users,
|
||||
retcols=['user_name'],
|
||||
desc='get_users_with_pushers_in_room'
|
||||
)
|
||||
|
||||
defer.returnValue([r['user_name'] for r in result])
|
||||
|
|
Loading…
Reference in a new issue