Proper treatment for groups #4008

5359c76923c3941357c1291c5c8349ccc40734a4

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -3Ignore whitespace
public/scripts/group-chats.js+3 -3
@@ -715,7 +715,7 @@ export function getGroupBlock(group) {
715715
716716 // Display inline tags
717717 const tagsElement = template.find('.tags');
718718 printTagList(tagsElement, { forEntityOrKey: group.id, tagOptions: { isCharacterList: true } });
719719
720720 const avatar = getGroupAvatar(group);
721721 if (avatar) {
@@ -957,7 +957,7 @@ async function generateGroupWrapper(by_auto_mode, type = null, params = {}) {
957957 setCharacterName('');
958958 activateSendButtons();
959959 showSwipeButtons();
960960 await eventSource.emit(event_types.GROUP_WRAPPER_FINISHED, { selected_group, type });
961961 }
962962
963963 return Promise.resolve(textResult);
@@ -1482,7 +1482,7 @@ function getGroupCharacterBlock(character) {
14821482
14831483 // Display inline tags
14841484 const tagsElement = template.find('.tags');
14851485 printTagList(tagsElement, { forEntityOrKey: characters.indexOf(character), tagOptions: { isCharacterList: true } });
14861486
14871487 if (!openGroupId) {
14881488 template.find('[data-action="speak"]').hide();