Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7888950
matrix-room.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
matrix-room.cpp
View Options
/*
* Copyright (C) 2020 Tusooa Zhu <tusooa@vista.aero>
*
* This file is part of kazv.
*
* kazv is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* kazv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with kazv. If not, see <https://www.gnu.org/licenses/>.
*/
#include
<immer/config.hpp>
// https://github.com/arximboldi/immer/issues/168
#include
"matrix-room.hpp"
#include
"matrix-room-timeline.hpp"
#include
"helper.hpp"
MatrixRoom
::
MatrixRoom
(
Kazv
::
Room
room
,
QObject
*
parent
)
:
QObject
(
parent
)
,
m_room
(
room
)
,
LAGER_QT
(
roomId
)(
m_room
.
roomId
().
xform
(
strToQt
))
,
LAGER_QT
(
name
)(
m_room
.
name
().
xform
(
strToQt
))
{
}
MatrixRoom
::~
MatrixRoom
()
=
default
;
MatrixRoomTimeline
*
MatrixRoom::timeline
()
const
{
return
new
MatrixRoomTimeline
(
m_room
);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Oct 2, 2:15 AM (15 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
486906
Default Alt Text
matrix-room.cpp (1 KB)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment