compose: Use stream_name() and topic() abstraction everywhere.

This commit is contained in:
evykassirer
2023-02-06 16:30:29 -08:00
committed by Tim Abbott
parent 75611c6cee
commit 01643d1d19
2 changed files with 3 additions and 2 deletions

View File

@@ -501,7 +501,7 @@ export function initialize() {
(event) => {
event.preventDefault();
const stream_name = $("#stream_message_recipient_stream").val();
const stream_name = compose_state.stream_name();
if (stream_name === undefined) {
return;
}