Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2697714
matrix-room-pinned-events-timeline.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
899 B
Referenced Files
None
Subscribers
None
matrix-room-pinned-events-timeline.cpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2024 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#include
<kazv-defs.hpp>
#include
"matrix-room-pinned-events-timeline.hpp"
using
namespace
Kazv
;
MatrixRoomPinnedEventsTimeline
::
MatrixRoomPinnedEventsTimeline
(
Kazv
::
Room
room
,
QObject
*
parent
)
:
MatrixRoomTimeline
(
room
.
pinnedEvents
(),
room
.
messagesMap
(),
lager
::
make_constant
(
immer
::
flex_vector
<
LocalEchoDesc
>
()),
lager
::
make_constant
(
immer
::
map
<
std
::
string
,
std
::
string
>
()),
room
,
parent
)
,
LAGER_QT
(
eventIds
)(
room
.
pinnedEvents
().
map
([](
const
auto
&
ids
)
{
QSet
<
QString
>
res
;
for
(
const
auto
&
id
:
ids
)
{
res
.
insert
(
QString
::
fromStdString
(
id
));
}
return
res
;
}))
{
}
MatrixRoomPinnedEventsTimeline
::~
MatrixRoomPinnedEventsTimeline
()
=
default
;
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Jul 18, 7:10 AM (13 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
241294
Default Alt Text
matrix-room-pinned-events-timeline.cpp (899 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment