1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-06-16 18:30:03 +08:00

Closed https://github.com/cskefu/cskefu/issues/807 fix theme by setting default them for dialog chatbox

This commit is contained in:
Hai Liang Wang 2023-04-03 14:38:33 +08:00
parent 6588e166e2
commit 080ec7141c

View File

@ -721,6 +721,11 @@ public class IMController extends Handler {
if (invite != null) {
logger.info("[index] invite id {}, orgi {}", invite.getId(), invite.getOrgi());
map.addAttribute("orgi", invite.getOrgi());
if (StringUtils.isBlank(invite.getConsult_dialog_color())) {
// set as default theme number, blue.
invite.setConsult_dialog_color("1");
}
map.addAttribute("inviteData", invite);
if (StringUtils.isNotBlank(aiid)) {