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:
parent
6588e166e2
commit
080ec7141c
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user