mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
streams: Remove "email_address" field from Subscription objects.
This commit removes "email_address" field from Subscription objects and we would instead a new endpoint in next commit to get email address for stream with proper access check. This change also fixes the bug where we would include email address for the unsubscribed private stream as well when user did not have permission to send message to the stream, and having email allowed the unsubscribed user to send message to the stream. Note that the unsubscribed user can still send message to the stream if the user had noted down the email before being unsubscribed and the stream token is not changed after unsubscribing the user.
This commit is contained in:
committed by
Alex Vandiver
parent
9636362cbd
commit
0a3800332f
@@ -26,6 +26,11 @@ format used by the Zulip server that they are interacting with.
|
||||
now included web-public streams as well. This change was backported from
|
||||
Zulip 8.0, where it was introduced in feature level 205.
|
||||
|
||||
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
||||
[`GET /users/me/subscriptions`](/api/get-subscriptions): Removed
|
||||
`email_address` field from subscription objects. This change was backported
|
||||
from Zulip 8.0, where it was introduced in feature level 226.
|
||||
|
||||
## Changes in Zulip 7.0
|
||||
|
||||
**Feature level 185**
|
||||
|
||||
Reference in New Issue
Block a user