addressee: Use stream ID for sender's default sending stream.

This commit is contained in:
Eeshan Garg 2019-01-29 23:24:28 -03:30 committed by Tim Abbott
parent 998437c123
commit 0420ecadeb
1 changed files with 1 additions and 1 deletions

View File

@ -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'))