Commit 104efafd authored by Christian Schudt's avatar Christian Schudt

OF-810 Added missing return statement + removed duplicate comment.

parent d028b445
...@@ -119,13 +119,13 @@ public class OfflineMessageStrategy extends BasicModule { ...@@ -119,13 +119,13 @@ public class OfflineMessageStrategy extends BasicModule {
if (message.getType() == Message.Type.normal || message.getType() == Message.Type.groupchat || message.getType() == Message.Type.headline) { if (message.getType() == Message.Type.normal || message.getType() == Message.Type.groupchat || message.getType() == Message.Type.headline) {
if (type == Type.bounce) { if (type == Type.bounce) {
bounce(message); bounce(message);
return;
} else { } else {
return; return;
} }
} }
// For a message stanza of type "error", the server MUST silently ignore the stanza. // For a message stanza of type "error", the server MUST silently ignore the stanza.
else if (message.getType() == Message.Type.error) { else if (message.getType() == Message.Type.error) {
// For a message stanza of type "error", the server MUST silently ignore the stanza.
return; return;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment