Elastic: Support messages of type chat notice (or any subtype notices)

pull/5578/merge
Aleksander Machniak 6 years ago
parent bfba7e5d03
commit f5f9defa75

@ -210,6 +210,10 @@
& > i.icon:before {
color: #fff;
}
&.chat > i.icon:before {
content: @fa-var-comment;
}
}
.alert-success {

@ -1678,6 +1678,9 @@ function rcube_elastic_ui()
vcardattachment: 'alert-info' /* vcard_attachments plugin */
};
// Type can be e.g. 'notice chat'
type = type.split(' ')[0];
if (wrap && addicon && !$(object).is('.aligned-buttons')) {
// we need the content to be non-text node for best alignment
tmp = $(object).html();

Loading…
Cancel
Save