Skip to content

Commit

Permalink
fixed group selection in send message dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Nov 28, 2024
1 parent afa0ee6 commit f1c0393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,10 @@ public void onSuccess(List<GUIUser> users) {
for (GUIUser user : users) {
ListGridRecord rec = new ListGridRecord();
rec.setAttribute("id", user.getId());
rec.setAttribute("username", user.getUsername());
rec.setAttribute(AVATAR, user.getId());
rec.setAttribute(LABEL, user.getFullName());
records.add(rec);
}

addRecipients(records);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,7 @@ public void onSuccess(GUIMessage message) {
ToolStripButton add = new ToolStripButton();
add.setTitle(I18N.message("sendmessage"));
toolStrip.addButton(add);
add.addClickHandler(nevent -> {
MessageDialog dialog = new MessageDialog();
dialog.show();
});
add.addClickHandler(click -> new MessageDialog().show());
ToolStripButton refresh = new ToolStripButton();
refresh.setTitle(I18N.message("refresh"));
toolStrip.addButton(refresh);
Expand Down

0 comments on commit f1c0393

Please sign in to comment.