Skip to content

Commit

Permalink
Fix regression:
Browse files Browse the repository at this point in the history
When the toolbar was moved (commit
f91d5e2), the is_groupchat attribute
was wronly computed.
  • Loading branch information
JohnXLivingston committed Sep 11, 2024
1 parent 7ea3b5a commit 501599c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/muc-views/templates/message-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default (el) => {
class="btn-toolbar chat-toolbar no-text-select"
.model=${el.model}
?hidden_occupants="${el.model.get('hidden_occupants')}"
?is_groupchat="${el.model.get('is_groupchat')}"
?is_groupchat="${el.model.get('message_type') === 'groupchat'}"
?show_call_button="${show_call_button}"
?show_emoji_button="${show_emoji_button}"
?show_send_button="${show_send_button}"
Expand Down

0 comments on commit 501599c

Please sign in to comment.