API: Rename list_subscriptions to get_subscriptions.

This commit is contained in:
rht 2021-03-09 23:16:47 -05:00 committed by Tim Abbott
parent 503e8ed82d
commit 57e8886dfe
4 changed files with 5 additions and 5 deletions

View file

@ -275,7 +275,7 @@ def get_rooms(zulipToJabber: ZulipToJabberBot) -> List[str]:
if options.mode == 'public':
stream_infos = get_stream_infos("streams", zulipToJabber.client.get_streams)
else:
stream_infos = get_stream_infos("subscriptions", zulipToJabber.client.list_subscriptions)
stream_infos = get_stream_infos("subscriptions", zulipToJabber.client.get_subscriptions)
rooms = [] # type: List[str]
for stream_info in stream_infos: