zulip/frontend_tests
Steve Howell 00e60c0c91 events: Use stream_id for peer_add/peer_remove.
Two things were broken here:
    * we were using name(s) instead of id(s)
    * we were always sending lists that only
      had one element

Now we just send "stream_id" instead of "subscriptions".

If anything, we should start sending a list of users
instead of a list of streams.  For example, see
the code below:

    if peer_user_ids:
        for new_user_id in new_user_ids:
            event = dict(type="subscription", op="peer_add",
                         stream_id=stream.id,
                         user_id=new_user_id)
            send_event(realm, event, peer_user_ids)

Note that this only affects the webapp, as mobile/ZT
don't use this.
2020-06-19 14:48:42 -07:00
..
casper_lib js: Use hasOwnProperty correctly or not at all. 2020-05-26 23:33:40 -07:00
casper_tests settings org: Use `image_upload_widget.hbs` for realm icon. 2020-06-17 17:47:49 -07:00
node_tests events: Use stream_id for peer_add/peer_remove. 2020-06-19 14:48:42 -07:00
puppeteer_lib puppeteer: Update the structure of common.get_rendered_messages. 2020-06-16 11:40:30 -07:00
puppeteer_tests puppeteer: Update the structure of common.get_rendered_messages. 2020-06-16 11:40:30 -07:00
zjsunit markdown: Add support for spoilers. 2020-06-16 16:14:10 -07:00
.eslintrc.json lint: Check eslint indentation for casper tests. 2018-05-06 19:35:18 -07:00
run-casper python: Sort imports with isort. 2020-06-11 16:45:32 -07:00