Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
a07e6998
Commit
a07e6998
authored
5 years ago
by
Nicolas Werner
Browse files
Options
Downloads
Patches
Plain Diff
Fix build with build system optimizations of mtxclient
parent
d6d4076d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
src/CacheStructs.h
+6
-6
6 additions, 6 deletions
src/CacheStructs.h
src/Utils.h
+1
-1
1 addition, 1 deletion
src/Utils.h
with
8 additions
and
8 deletions
CMakeLists.txt
+
1
−
1
View file @
a07e6998
...
...
@@ -333,7 +333,7 @@ if(USE_BUNDLED_MTXCLIENT)
FetchContent_Declare
(
MatrixClient
GIT_REPOSITORY https://github.com/Nheko-Reborn/mtxclient.git
GIT_TAG
03b5008a05f895e91e3968de7b68db50f6c41b2a
GIT_TAG
19e7d680bf5e8bc6a25586a225e881fe4e60d9fb
)
FetchContent_MakeAvailable
(
MatrixClient
)
else
()
...
...
This diff is collapsed.
Click to expand it.
src/CacheStructs.h
+
6
−
6
View file @
a07e6998
...
...
@@ -29,10 +29,10 @@ struct ReadReceiptKey
};
void
to_json
(
json
&
j
,
const
ReadReceiptKey
&
key
);
to_json
(
nlohmann
::
json
&
j
,
const
ReadReceiptKey
&
key
);
void
from_json
(
const
json
&
j
,
ReadReceiptKey
&
key
);
from_json
(
const
nlohmann
::
json
&
j
,
ReadReceiptKey
&
key
);
struct
DescInfo
{
...
...
@@ -68,9 +68,9 @@ struct RoomInfo
};
void
to_json
(
json
&
j
,
const
RoomInfo
&
info
);
to_json
(
nlohmann
::
json
&
j
,
const
RoomInfo
&
info
);
void
from_json
(
const
json
&
j
,
RoomInfo
&
info
);
from_json
(
const
nlohmann
::
json
&
j
,
RoomInfo
&
info
);
//! Basic information per member;
struct
MemberInfo
...
...
@@ -80,9 +80,9 @@ struct MemberInfo
};
void
to_json
(
json
&
j
,
const
MemberInfo
&
info
);
to_json
(
nlohmann
::
json
&
j
,
const
MemberInfo
&
info
);
void
from_json
(
const
json
&
j
,
MemberInfo
&
info
);
from_json
(
const
nlohmann
::
json
&
j
,
MemberInfo
&
info
);
struct
RoomSearchResult
{
...
...
This diff is collapsed.
Click to expand it.
src/Utils.h
+
1
−
1
View file @
a07e6998
...
...
@@ -272,7 +272,7 @@ getMessageBody(const RoomMessageT &event)
if
(
event
.
content
.
format
.
empty
())
return
QString
::
fromStdString
(
event
.
content
.
body
).
toHtmlEscaped
();
if
(
event
.
content
.
format
!=
common
::
FORMAT_MSG_TYPE
)
if
(
event
.
content
.
format
!=
mtx
::
common
::
FORMAT_MSG_TYPE
)
return
QString
::
fromStdString
(
event
.
content
.
body
).
toHtmlEscaped
();
return
QString
::
fromStdString
(
event
.
content
.
formatted_body
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment