Hi! A couple of solutions to problems. I'll do a PR for the second one shortly, once I figure out how...
First, the colours of the message bubbles on screen. You can fix that in CSS, and the particular CSS I settled on is hopefully generic enough that it will work for anyone. In Administration > Appearance > Custom Styles > Edit Custom CSS, I put this:
.ConversationsList .chat .chat-history .my-message div.message-text {
background: var(--control-bg-light);
color: var(--text-color);
}
.ConversationsList .chat .chat-history .other-message div.message-text {
background: var(--light-content-control-bg);
color: var(--text-color);
}
That gives a suitably muted look to the messages with good contrast, and I believe it should apply in all cases regardless of colour scheme. Feedback is welcome!
Second, the message notifications contain HTML but are being sent as text. You need to change 'text'
to 'html'
in the NewPrivateMessageBlueprint::getEmailView()
method. I see you had a comment ("// HTML?") there, so you were probably intending to do that and just didn't get around to it. The result is HTML email, which is good, though the actual formatting needs work because it's a bit messy. As I said, I'll try to do a pull request for that now.