mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix minimal width of message bubble with comments.
This commit is contained in:
@@ -751,7 +751,14 @@ bool PeerData::isBroadcast() const {
|
||||
}
|
||||
|
||||
bool PeerData::isRepliesChat() const {
|
||||
return (id == peerFromUser(708513));
|
||||
constexpr auto kProductionId = peerFromUser(1271266957);
|
||||
constexpr auto kTestId = peerFromUser(708513);
|
||||
if (id != kTestId && id != kProductionId) {
|
||||
return false;
|
||||
}
|
||||
return ((session().mtp().environment() == MTP::Environment::Production)
|
||||
? kProductionId
|
||||
: kTestId) == id;
|
||||
}
|
||||
|
||||
bool PeerData::canWrite() const {
|
||||
|
||||
Reference in New Issue
Block a user