Message: Fix transparent background for "via bot" messages (#2123)

This commit is contained in:
Alexander Zinchuk 2022-11-10 18:27:58 +04:00
parent fe95ac554f
commit 5812c4c7c6

View File

@ -122,7 +122,7 @@ export function buildContentClassName(
classNames.push('has-background');
}
if (hasReply || asForwarded || !isMediaWithNoText || forceSenderName) {
if (hasReply || asForwarded || isViaBot || !isMediaWithNoText || forceSenderName) {
classNames.push('has-solid-background');
}