Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
kaidan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Robert Maerkisch
kaidan
Commits
ba565584
Commit
ba565584
authored
Jun 27, 2019
by
Linus Jahn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore error messages
parent
0eb3a512
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/MessageHandler.cpp
src/MessageHandler.cpp
+1
-1
src/RosterManager.cpp
src/RosterManager.cpp
+1
-1
No files found.
src/MessageHandler.cpp
View file @
ba565584
...
...
@@ -91,7 +91,7 @@ MessageHandler::~MessageHandler()
void
MessageHandler
::
handleMessage
(
const
QXmppMessage
&
msg
)
{
if
(
msg
.
body
().
isEmpty
()
)
if
(
msg
.
body
().
isEmpty
()
||
msg
.
type
()
==
QXmppMessage
::
Error
)
return
;
Message
message
;
...
...
src/RosterManager.cpp
View file @
ba565584
...
...
@@ -162,7 +162,7 @@ void RosterManager::handleSendMessage(const QString &jid, const QString &message
void
RosterManager
::
handleMessage
(
const
QXmppMessage
&
msg
)
{
if
(
msg
.
body
().
isEmpty
()
)
if
(
msg
.
body
().
isEmpty
()
||
msg
.
type
()
==
QXmppMessage
::
Error
)
return
;
// msg.from() can be our JID, if it's a carbon/forward from another client
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment