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 {
if (message.getType() == Message.Type.normal || message.getType() == Message.Type.groupchat || message.getType() == Message.Type.headline) {
if (type == Type.bounce) {
bounce(message);
return;
} else {
return;
}
}
// For a message stanza of type "error", the server MUST silently ignore the stanza.
else if (message.getType() == Message.Type.error) {
// For a message stanza of type "error", the server MUST silently ignore the stanza.
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