2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Move some chat styles from basic.style to chat.style.

This commit is contained in:
John Preston
2022-09-30 11:25:02 +04:00
parent ba2f92906b
commit b13471672d
25 changed files with 196 additions and 37 deletions

View File

@@ -16,6 +16,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/text/text_options.h"
#include "apiwrap.h"
#include "lang/lang_keys.h"
#include "styles/style_chat.h"
namespace {
@@ -26,6 +27,9 @@ using UpdateFlag = Data::PeerUpdate::Flag;
} // namespace
BotInfo::BotInfo() : text(st::msgMinWidth) {
}
UserData::UserData(not_null<Data::Session*> owner, PeerId id)
: PeerData(owner, id)
, _flags((id == owner->session().userPeerId()) ? Flag::Self : Flag(0)) {