mirror of https://github.com/zulip/zulip.git
addressee: Use stream ID for sender's default sending stream.
This commit is contained in:
parent
998437c123
commit
0420ecadeb
|
@ -123,7 +123,7 @@ class Addressee:
|
||||||
# callpath).
|
# callpath).
|
||||||
if sender.default_sending_stream:
|
if sender.default_sending_stream:
|
||||||
# Use the users default stream
|
# Use the users default stream
|
||||||
stream_name_or_id = sender.default_sending_stream.name
|
stream_name_or_id = sender.default_sending_stream.id
|
||||||
else:
|
else:
|
||||||
raise JsonableError(_('Missing stream'))
|
raise JsonableError(_('Missing stream'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue