zulip/static
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
..
assets python: Convert more percent formatting to Python 3.6 f-strings. 2020-06-14 23:27:22 -07:00
audio
generated
html docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
images apple_auth: Add icon for log in and sign up buttons. 2020-06-19 12:55:24 -07:00
js events: Use stream_id for peer_add/peer_remove. 2020-06-19 14:48:42 -07:00
shared typeahead: Convert to ES6 module. 2020-02-19 14:36:42 -08:00
styles timestamp: Update night mode css after the syntax change. 2020-06-19 13:07:16 -07:00
templates streams: Show message retention policy details in subscription_type text. 2020-06-18 17:13:04 -07:00
third typeahead: Allow automated selection for `contenteditable` elements. 2020-06-18 01:35:19 -07:00
.eslintrc.json lint: Delegate console.log check to ESLint. 2020-02-07 14:09:47 -08:00
.gitignore team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00
favicon.ico