Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Quarkcord4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
015
Quarkcord4
Commits
2f787575
Verified
Commit
2f787575
authored
11 months ago
by
Emilia
Browse files
Options
Downloads
Patches
Plain Diff
Use message.Content instead of message.CleanContent so underscores work
parent
d222d0ea
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Quarkcord/Program.cs
+2
-2
2 additions, 2 deletions
Quarkcord/Program.cs
with
2 additions
and
2 deletions
Quarkcord/Program.cs
+
2
−
2
View file @
2f787575
...
...
@@ -313,7 +313,7 @@ public class QuarkcordPlugin : IPlugin
Url
=
new
Uri
(
$"
{
_networkInformation
!.
CdnBaseUrl
}
/external/
{
HttpUtility
.
UrlEncode
(
a
.
Url
)}
"
)
}).
ToArray
();
LqMessage
lqMessage
;
if
(
message
.
Attachments
.
Count
==
0
&&
message
.
Clean
Content
.
Length
==
0
)
if
(
message
.
Attachments
.
Count
==
0
&&
message
.
Content
.
Length
==
0
)
{
specialAttributes
.
Add
(
new
JObject
{
...
...
@@ -348,7 +348,7 @@ public class QuarkcordPlugin : IPlugin
{
Id
=
lqMessageId
,
AuthorId
=
_user
!.
Id
,
Content
=
message
.
Clean
Content
,
Content
=
message
.
Content
,
ChannelId
=
bridgeChannel
!.
LqId
,
UserAgent
=
"Quarkcord"
,
Timestamp
=
message
.
Timestamp
.
ToUnixTimeMilliseconds
(),
...
...
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