2017-09-30 18:26:45 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-09-30 18:26:45 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-09-30 18:26:45 +00:00
|
|
|
*/
|
|
|
|
#include "info/info_content_widget.h"
|
|
|
|
|
2019-06-06 10:21:40 +00:00
|
|
|
#include "window/window_session_controller.h"
|
2017-09-30 18:26:45 +00:00
|
|
|
#include "ui/widgets/scroll_area.h"
|
2023-08-31 11:21:24 +00:00
|
|
|
#include "ui/widgets/fields/input_field.h"
|
2017-11-23 12:48:56 +00:00
|
|
|
#include "ui/wrap/padding_wrap.h"
|
2017-11-03 18:26:14 +00:00
|
|
|
#include "ui/search_field_controller.h"
|
2017-09-30 18:26:45 +00:00
|
|
|
#include "lang/lang_keys.h"
|
|
|
|
#include "info/profile/info_profile_widget.h"
|
|
|
|
#include "info/media/info_media_widget.h"
|
2017-11-03 15:52:53 +00:00
|
|
|
#include "info/common_groups/info_common_groups_widget.h"
|
2017-09-30 18:26:45 +00:00
|
|
|
#include "info/info_layer_widget.h"
|
|
|
|
#include "info/info_section_widget.h"
|
2017-10-31 18:25:22 +00:00
|
|
|
#include "info/info_controller.h"
|
2017-11-17 13:23:36 +00:00
|
|
|
#include "boxes/peer_list_box.h"
|
2022-09-27 12:05:47 +00:00
|
|
|
#include "data/data_chat.h"
|
2022-09-27 16:52:35 +00:00
|
|
|
#include "data/data_channel.h"
|
2019-01-18 12:27:37 +00:00
|
|
|
#include "data/data_session.h"
|
2022-09-27 12:05:47 +00:00
|
|
|
#include "data/data_forum_topic.h"
|
2022-10-04 15:34:45 +00:00
|
|
|
#include "data/data_forum.h"
|
2019-07-24 11:45:24 +00:00
|
|
|
#include "main/main_session.h"
|
2017-09-30 18:26:45 +00:00
|
|
|
#include "styles/style_info.h"
|
|
|
|
#include "styles/style_profile.h"
|
2022-05-20 23:30:30 +00:00
|
|
|
#include "styles/style_layers.h"
|
2017-09-30 18:26:45 +00:00
|
|
|
|
2019-09-04 07:19:15 +00:00
|
|
|
#include <QtCore/QCoreApplication>
|
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
namespace Info {
|
|
|
|
|
|
|
|
ContentWidget::ContentWidget(
|
|
|
|
QWidget *parent,
|
2017-10-31 18:25:22 +00:00
|
|
|
not_null<Controller*> controller)
|
2017-09-30 18:26:45 +00:00
|
|
|
: RpWidget(parent)
|
|
|
|
, _controller(controller)
|
2021-04-23 11:07:12 +00:00
|
|
|
, _scroll(this) {
|
2017-11-03 18:26:14 +00:00
|
|
|
using namespace rpl::mappers;
|
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
setAttribute(Qt::WA_OpaquePaintEvent);
|
2017-12-22 07:05:20 +00:00
|
|
|
_controller->wrapValue(
|
|
|
|
) | rpl::start_with_next([this](Wrap value) {
|
|
|
|
if (value != Wrap::Layer) {
|
|
|
|
applyAdditionalScroll(0);
|
|
|
|
}
|
|
|
|
_bg = (value == Wrap::Layer)
|
|
|
|
? st::boxBg
|
|
|
|
: st::profileBg;
|
|
|
|
update();
|
|
|
|
}, lifetime());
|
2017-11-17 13:23:36 +00:00
|
|
|
if (_controller->section().type() != Section::Type::Profile) {
|
|
|
|
rpl::combine(
|
|
|
|
_controller->wrapValue(),
|
|
|
|
_controller->searchEnabledByContent(),
|
2017-12-22 07:05:20 +00:00
|
|
|
(_1 == Wrap::Layer) && _2
|
2017-12-26 13:18:00 +00:00
|
|
|
) | rpl::distinct_until_changed(
|
2017-12-22 07:05:20 +00:00
|
|
|
) | rpl::start_with_next([this](bool shown) {
|
|
|
|
refreshSearchField(shown);
|
2017-11-03 12:03:00 +00:00
|
|
|
}, lifetime());
|
2017-12-22 07:05:20 +00:00
|
|
|
}
|
2022-05-03 15:43:04 +00:00
|
|
|
rpl::merge(
|
|
|
|
_scrollTopSkip.changes(),
|
|
|
|
_scrollBottomSkip.changes()
|
2017-12-22 07:05:20 +00:00
|
|
|
) | rpl::start_with_next([this] {
|
|
|
|
updateControlsGeometry();
|
|
|
|
}, lifetime());
|
2017-09-30 18:26:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void ContentWidget::resizeEvent(QResizeEvent *e) {
|
2017-10-27 17:41:38 +00:00
|
|
|
updateControlsGeometry();
|
|
|
|
}
|
|
|
|
|
|
|
|
void ContentWidget::updateControlsGeometry() {
|
2017-11-23 12:48:56 +00:00
|
|
|
if (!_innerWrap) {
|
2017-11-03 18:26:14 +00:00
|
|
|
return;
|
|
|
|
}
|
2022-04-20 09:53:07 +00:00
|
|
|
_innerWrap->resizeToWidth(width());
|
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
auto newScrollTop = _scroll->scrollTop() + _topDelta;
|
|
|
|
auto scrollGeometry = rect().marginsRemoved(
|
2022-05-03 15:43:04 +00:00
|
|
|
{ 0, _scrollTopSkip.current(), 0, _scrollBottomSkip.current() });
|
2017-09-30 18:26:45 +00:00
|
|
|
if (_scroll->geometry() != scrollGeometry) {
|
|
|
|
_scroll->setGeometry(scrollGeometry);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!_scroll->isHidden()) {
|
|
|
|
if (_topDelta) {
|
|
|
|
_scroll->scrollToY(newScrollTop);
|
|
|
|
}
|
|
|
|
auto scrollTop = _scroll->scrollTop();
|
2017-11-23 12:48:56 +00:00
|
|
|
_innerWrap->setVisibleTopBottom(
|
2017-11-03 18:26:14 +00:00
|
|
|
scrollTop,
|
|
|
|
scrollTop + _scroll->height());
|
2017-09-30 18:26:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-14 14:48:10 +00:00
|
|
|
std::shared_ptr<ContentMemento> ContentWidget::createMemento() {
|
2017-11-03 18:26:14 +00:00
|
|
|
auto result = doCreateMemento();
|
|
|
|
_controller->saveSearchState(result.get());
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
2022-04-04 06:36:45 +00:00
|
|
|
void ContentWidget::setIsStackBottom(bool isStackBottom) {
|
|
|
|
_isStackBottom = isStackBottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool ContentWidget::isStackBottom() const {
|
|
|
|
return _isStackBottom;
|
|
|
|
}
|
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
void ContentWidget::paintEvent(QPaintEvent *e) {
|
2022-09-16 20:23:27 +00:00
|
|
|
auto p = QPainter(this);
|
2022-05-21 06:11:24 +00:00
|
|
|
if (_paintPadding.isNull()) {
|
|
|
|
p.fillRect(e->rect(), _bg);
|
|
|
|
} else {
|
|
|
|
const auto &r = e->rect();
|
|
|
|
const auto padding = QMargins(
|
|
|
|
0,
|
|
|
|
std::min(0, (r.top() - _paintPadding.top())),
|
|
|
|
0,
|
|
|
|
std::min(0, (r.bottom() - _paintPadding.bottom())));
|
|
|
|
p.fillRect(r + padding, _bg);
|
|
|
|
}
|
2017-09-30 18:26:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void ContentWidget::setGeometryWithTopMoved(
|
|
|
|
const QRect &newGeometry,
|
|
|
|
int topDelta) {
|
|
|
|
_topDelta = topDelta;
|
|
|
|
auto willBeResized = (size() != newGeometry.size());
|
|
|
|
if (geometry() != newGeometry) {
|
|
|
|
setGeometry(newGeometry);
|
|
|
|
}
|
|
|
|
if (!willBeResized) {
|
|
|
|
QResizeEvent fake(size(), size());
|
2019-09-04 07:19:15 +00:00
|
|
|
QCoreApplication::sendEvent(this, &fake);
|
2017-09-30 18:26:45 +00:00
|
|
|
}
|
|
|
|
_topDelta = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
Ui::RpWidget *ContentWidget::doSetInnerWidget(
|
2017-11-03 18:26:14 +00:00
|
|
|
object_ptr<RpWidget> inner) {
|
2017-09-30 18:26:45 +00:00
|
|
|
using namespace rpl::mappers;
|
|
|
|
|
2017-11-23 12:48:56 +00:00
|
|
|
_innerWrap = _scroll->setOwnedWidget(
|
|
|
|
object_ptr<Ui::PaddingWrap<Ui::RpWidget>>(
|
|
|
|
this,
|
|
|
|
std::move(inner),
|
|
|
|
_innerWrap ? _innerWrap->padding() : style::margins()));
|
|
|
|
_innerWrap->move(0, 0);
|
2017-09-30 18:26:45 +00:00
|
|
|
|
2018-08-14 19:12:41 +00:00
|
|
|
// MSVC BUG + REGRESSION rpl::mappers::tuple :(
|
2017-09-30 18:26:45 +00:00
|
|
|
rpl::combine(
|
|
|
|
_scroll->scrollTopValue(),
|
|
|
|
_scroll->heightValue(),
|
2018-08-14 19:12:41 +00:00
|
|
|
_innerWrap->entity()->desiredHeightValue()
|
2017-12-22 07:05:20 +00:00
|
|
|
) | rpl::start_with_next([this](
|
|
|
|
int top,
|
2018-08-14 19:12:41 +00:00
|
|
|
int height,
|
2017-12-22 07:05:20 +00:00
|
|
|
int desired) {
|
2018-08-14 19:12:41 +00:00
|
|
|
const auto bottom = top + height;
|
2017-12-22 07:05:20 +00:00
|
|
|
_innerDesiredHeight = desired;
|
|
|
|
_innerWrap->setVisibleTopBottom(top, bottom);
|
|
|
|
_scrollTillBottomChanges.fire_copy(std::max(desired - bottom, 0));
|
|
|
|
}, _innerWrap->lifetime());
|
2017-10-27 17:41:38 +00:00
|
|
|
|
2017-11-23 12:48:56 +00:00
|
|
|
return _innerWrap->entity();
|
|
|
|
}
|
|
|
|
|
|
|
|
int ContentWidget::scrollTillBottom(int forHeight) const {
|
2022-05-03 15:43:04 +00:00
|
|
|
const auto scrollHeight = forHeight
|
|
|
|
- _scrollTopSkip.current()
|
|
|
|
- _scrollBottomSkip.current();
|
|
|
|
const auto scrollBottom = _scroll->scrollTop() + scrollHeight;
|
|
|
|
const auto desired = _innerDesiredHeight;
|
2017-11-23 12:48:56 +00:00
|
|
|
return std::max(desired - scrollBottom, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
rpl::producer<int> ContentWidget::scrollTillBottomChanges() const {
|
|
|
|
return _scrollTillBottomChanges.events();
|
2017-09-30 18:26:45 +00:00
|
|
|
}
|
|
|
|
|
2017-11-03 12:03:00 +00:00
|
|
|
void ContentWidget::setScrollTopSkip(int scrollTopSkip) {
|
|
|
|
_scrollTopSkip = scrollTopSkip;
|
|
|
|
}
|
|
|
|
|
2022-05-03 15:43:04 +00:00
|
|
|
void ContentWidget::setScrollBottomSkip(int scrollBottomSkip) {
|
|
|
|
_scrollBottomSkip = scrollBottomSkip;
|
|
|
|
}
|
|
|
|
|
2017-11-14 17:22:44 +00:00
|
|
|
rpl::producer<int> ContentWidget::scrollHeightValue() const {
|
|
|
|
return _scroll->heightValue();
|
|
|
|
}
|
|
|
|
|
2017-11-23 12:48:56 +00:00
|
|
|
void ContentWidget::applyAdditionalScroll(int additionalScroll) {
|
|
|
|
if (_innerWrap) {
|
|
|
|
_innerWrap->setPadding({ 0, 0, 0, additionalScroll });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
rpl::producer<int> ContentWidget::desiredHeightValue() const {
|
2017-11-03 12:03:00 +00:00
|
|
|
using namespace rpl::mappers;
|
|
|
|
return rpl::combine(
|
2017-11-23 12:48:56 +00:00
|
|
|
_innerWrap->entity()->desiredHeightValue(),
|
2022-05-03 15:43:04 +00:00
|
|
|
_scrollTopSkip.value(),
|
|
|
|
_scrollBottomSkip.value()
|
|
|
|
) | rpl::map(_1 + _2 + _3);
|
2017-09-30 18:26:45 +00:00
|
|
|
}
|
2017-10-03 14:57:11 +00:00
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
rpl::producer<bool> ContentWidget::desiredShadowVisibility() const {
|
|
|
|
using namespace rpl::mappers;
|
2017-11-03 12:03:00 +00:00
|
|
|
return rpl::combine(
|
|
|
|
_scroll->scrollTopValue(),
|
2017-12-22 07:05:20 +00:00
|
|
|
_scrollTopSkip.value()
|
|
|
|
) | rpl::map((_1 > 0) || (_2 > 0));
|
2017-09-30 18:26:45 +00:00
|
|
|
}
|
|
|
|
|
2017-10-03 14:57:11 +00:00
|
|
|
bool ContentWidget::hasTopBarShadow() const {
|
|
|
|
return (_scroll->scrollTop() > 0);
|
|
|
|
}
|
|
|
|
|
2017-11-23 12:48:56 +00:00
|
|
|
void ContentWidget::setInnerFocus() {
|
2017-12-08 08:22:02 +00:00
|
|
|
if (_searchField) {
|
|
|
|
_searchField->setFocus();
|
|
|
|
} else {
|
|
|
|
_innerWrap->entity()->setFocus();
|
|
|
|
}
|
2017-11-23 12:48:56 +00:00
|
|
|
}
|
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
int ContentWidget::scrollTopSave() const {
|
|
|
|
return _scroll->scrollTop();
|
|
|
|
}
|
|
|
|
|
2022-05-21 03:25:01 +00:00
|
|
|
rpl::producer<int> ContentWidget::scrollTopValue() const {
|
|
|
|
return _scroll->scrollTopValue();
|
|
|
|
}
|
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
void ContentWidget::scrollTopRestore(int scrollTop) {
|
|
|
|
_scroll->scrollToY(scrollTop);
|
|
|
|
}
|
|
|
|
|
|
|
|
void ContentWidget::scrollTo(const Ui::ScrollToRequest &request) {
|
|
|
|
_scroll->scrollTo(request);
|
|
|
|
}
|
|
|
|
|
2020-06-25 14:17:37 +00:00
|
|
|
bool ContentWidget::floatPlayerHandleWheelEvent(QEvent *e) {
|
2017-09-30 18:26:45 +00:00
|
|
|
return _scroll->viewportEvent(e);
|
|
|
|
}
|
|
|
|
|
2020-06-25 14:17:37 +00:00
|
|
|
QRect ContentWidget::floatPlayerAvailableRect() const {
|
2017-09-30 18:26:45 +00:00
|
|
|
return mapToGlobal(_scroll->geometry());
|
|
|
|
}
|
|
|
|
|
2017-10-20 16:19:42 +00:00
|
|
|
rpl::producer<SelectedItems> ContentWidget::selectedListValue() const {
|
|
|
|
return rpl::single(SelectedItems(Storage::SharedMediaType::Photo));
|
|
|
|
}
|
|
|
|
|
2022-05-21 06:11:24 +00:00
|
|
|
void ContentWidget::setPaintPadding(const style::margins &padding) {
|
|
|
|
_paintPadding = padding;
|
|
|
|
}
|
|
|
|
|
2022-05-24 00:27:36 +00:00
|
|
|
void ContentWidget::setViewport(
|
|
|
|
rpl::producer<not_null<QEvent*>> &&events) const {
|
|
|
|
std::move(
|
|
|
|
events
|
|
|
|
) | rpl::start_with_next([=](not_null<QEvent*> e) {
|
|
|
|
_scroll->viewportEvent(e);
|
|
|
|
}, _scroll->lifetime());
|
|
|
|
}
|
|
|
|
|
2023-06-20 15:31:40 +00:00
|
|
|
auto ContentWidget::titleStories()
|
|
|
|
-> rpl::producer<Dialogs::Stories::Content> {
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
|
2018-09-09 17:38:08 +00:00
|
|
|
void ContentWidget::saveChanges(FnMut<void()> done) {
|
|
|
|
done();
|
|
|
|
}
|
|
|
|
|
2017-11-03 18:26:14 +00:00
|
|
|
void ContentWidget::refreshSearchField(bool shown) {
|
|
|
|
auto search = _controller->searchFieldController();
|
|
|
|
if (search && shown) {
|
2017-12-08 08:22:02 +00:00
|
|
|
auto rowView = search->createRowView(
|
2017-11-03 18:26:14 +00:00
|
|
|
this,
|
|
|
|
st::infoLayerMediaSearch);
|
2017-12-08 08:22:02 +00:00
|
|
|
_searchWrap = std::move(rowView.wrap);
|
|
|
|
_searchField = rowView.field;
|
|
|
|
|
|
|
|
const auto view = _searchWrap.get();
|
2017-12-22 07:05:20 +00:00
|
|
|
widthValue(
|
|
|
|
) | rpl::start_with_next([=](int newWidth) {
|
|
|
|
view->resizeToWidth(newWidth);
|
|
|
|
view->moveToLeft(0, 0);
|
|
|
|
}, view->lifetime());
|
2017-12-08 08:22:02 +00:00
|
|
|
view->show();
|
|
|
|
_searchField->setFocus();
|
|
|
|
setScrollTopSkip(view->heightNoMargins() - st::lineWidth);
|
2017-11-03 18:26:14 +00:00
|
|
|
} else {
|
2017-12-26 13:18:00 +00:00
|
|
|
if (Ui::InFocusChain(this)) {
|
|
|
|
setFocus();
|
|
|
|
}
|
2017-12-08 08:14:30 +00:00
|
|
|
_searchWrap = nullptr;
|
2017-11-03 18:26:14 +00:00
|
|
|
setScrollTopSkip(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-19 00:16:05 +00:00
|
|
|
int ContentWidget::scrollBottomSkip() const {
|
|
|
|
return _scrollBottomSkip.current();
|
|
|
|
}
|
|
|
|
|
2022-06-09 07:00:29 +00:00
|
|
|
rpl::producer<int> ContentWidget::scrollBottomSkipValue() const {
|
|
|
|
return _scrollBottomSkip.value();
|
|
|
|
}
|
|
|
|
|
2022-05-19 00:16:05 +00:00
|
|
|
rpl::producer<bool> ContentWidget::desiredBottomShadowVisibility() const {
|
|
|
|
using namespace rpl::mappers;
|
|
|
|
return rpl::combine(
|
|
|
|
_scroll->scrollTopValue(),
|
2022-05-20 20:44:02 +00:00
|
|
|
_scrollBottomSkip.value(),
|
|
|
|
_scroll->heightValue()
|
|
|
|
) | rpl::map([=](int scroll, int skip, int) {
|
2022-05-19 00:16:05 +00:00
|
|
|
return ((skip > 0) && (scroll < _scroll->scrollTopMax()));
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2018-09-05 19:05:49 +00:00
|
|
|
Key ContentMemento::key() const {
|
2022-09-27 12:05:47 +00:00
|
|
|
if (const auto topic = this->topic()) {
|
|
|
|
return Key(topic);
|
|
|
|
} else if (const auto peer = this->peer()) {
|
2020-06-08 09:06:50 +00:00
|
|
|
return Key(peer);
|
2020-01-15 11:53:42 +00:00
|
|
|
} else if (const auto poll = this->poll()) {
|
|
|
|
return Key(poll, pollContextId());
|
2022-02-24 15:04:24 +00:00
|
|
|
} else if (const auto self = settingsSelf()) {
|
|
|
|
return Settings::Tag{ self };
|
2023-06-05 16:31:15 +00:00
|
|
|
} else if (const auto peer = storiesPeer()) {
|
|
|
|
return Stories::Tag{ peer, storiesTab() };
|
2023-10-08 20:17:45 +00:00
|
|
|
} else if (const auto peer = statisticsPeer()) {
|
2023-11-17 01:59:20 +00:00
|
|
|
return Statistics::Tag{
|
|
|
|
peer,
|
|
|
|
statisticsContextId(),
|
|
|
|
statisticsStoryId(),
|
|
|
|
};
|
2018-09-05 19:05:49 +00:00
|
|
|
} else {
|
2022-02-24 15:04:24 +00:00
|
|
|
return Downloads::Tag();
|
2018-09-05 19:05:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-12 12:57:17 +00:00
|
|
|
ContentMemento::ContentMemento(
|
|
|
|
not_null<PeerData*> peer,
|
|
|
|
Data::ForumTopic *topic,
|
|
|
|
PeerId migratedPeerId)
|
|
|
|
: _peer(peer)
|
|
|
|
, _migratedPeerId((!topic && peer->migrateFrom())
|
|
|
|
? peer->migrateFrom()->id
|
|
|
|
: 0)
|
2022-09-27 12:05:47 +00:00
|
|
|
, _topic(topic) {
|
2022-10-12 12:57:17 +00:00
|
|
|
if (_topic) {
|
|
|
|
_peer->owner().itemIdChanged(
|
|
|
|
) | rpl::start_with_next([=](const Data::Session::IdChange &change) {
|
|
|
|
if (_topic->rootId() == change.oldId) {
|
|
|
|
_topic = _topic->forum()->topicFor(change.newId.msg);
|
|
|
|
}
|
|
|
|
}, _lifetime);
|
|
|
|
}
|
2022-09-27 12:05:47 +00:00
|
|
|
}
|
|
|
|
|
2018-09-05 19:05:49 +00:00
|
|
|
ContentMemento::ContentMemento(Settings::Tag settings)
|
|
|
|
: _settingsSelf(settings.self.get()) {
|
|
|
|
}
|
|
|
|
|
2022-02-24 15:04:24 +00:00
|
|
|
ContentMemento::ContentMemento(Downloads::Tag downloads) {
|
|
|
|
}
|
|
|
|
|
2023-06-05 16:31:15 +00:00
|
|
|
ContentMemento::ContentMemento(Stories::Tag stories)
|
|
|
|
: _storiesPeer(stories.peer)
|
|
|
|
, _storiesTab(stories.tab) {
|
|
|
|
}
|
|
|
|
|
2023-10-08 20:17:45 +00:00
|
|
|
ContentMemento::ContentMemento(Statistics::Tag statistics)
|
|
|
|
: _statisticsPeer(statistics.peer)
|
2023-11-17 01:59:20 +00:00
|
|
|
, _statisticsContextId(statistics.contextId)
|
|
|
|
, _statisticsStoryId(statistics.storyId) {
|
2023-10-08 20:17:45 +00:00
|
|
|
}
|
|
|
|
|
2017-09-30 18:26:45 +00:00
|
|
|
} // namespace Info
|