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
f14c1922
Verified
Commit
f14c1922
authored
2 years ago
by
Nicolas Werner
Browse files
Options
Downloads
Patches
Plain Diff
Fix c&p error on room names in previews
parent
52a3df88
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ui/RoomSummary.h
+2
-5
2 additions, 5 deletions
src/ui/RoomSummary.h
with
2 additions
and
5 deletions
src/ui/RoomSummary.h
+
2
−
5
View file @
f14c1922
...
...
@@ -32,7 +32,7 @@ class RoomSummary : public QObject
Q_PROPERTY
(
QString
roomTopic
READ
roomTopic
NOTIFY
loaded
)
Q_PROPERTY
(
QString
roomAvatarUrl
READ
roomAvatarUrl
NOTIFY
loaded
)
Q_PROPERTY
(
bool
isInvite
READ
isInvite
NOTIFY
loaded
)
Q_PROPERTY
(
bool
isSpace
READ
is
Invit
e
NOTIFY
loaded
)
Q_PROPERTY
(
bool
isSpace
READ
is
Spac
e
NOTIFY
loaded
)
Q_PROPERTY
(
bool
isKnockOnly
READ
isKnockOnly
NOTIFY
loaded
)
Q_PROPERTY
(
bool
isLoaded
READ
isLoaded
NOTIFY
loaded
)
Q_PROPERTY
(
int
memberCount
READ
memberCount
NOTIFY
loaded
)
...
...
@@ -51,10 +51,7 @@ public:
QString
reason
()
const
{
return
reason_
;
}
QString
roomid
()
const
{
return
room
?
QString
::
fromStdString
(
room
->
room_id
)
:
""
;
}
QString
roomName
()
const
{
return
QString
::
fromStdString
(
room
?
room
->
room_id
:
roomIdOrAlias
);
}
QString
roomName
()
const
{
return
QString
::
fromStdString
(
room
?
room
->
name
:
roomIdOrAlias
);
}
QString
roomTopic
()
const
{
return
room
?
QString
::
fromStdString
(
room
->
topic
)
:
""
;
}
QString
roomAvatarUrl
()
const
{
return
room
?
QString
::
fromStdString
(
room
->
avatar_url
)
:
""
;
}
bool
isInvite
()
const
...
...
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