Skip to content

Commit

Permalink
enable federation
Browse files Browse the repository at this point in the history
  • Loading branch information
deleolajide committed Nov 23, 2023
1 parent 99a0d41 commit 6718b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java/org/ifsoft/llama/openfire/LLaMAConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public void deliver(Packet packet) throws UnauthorizedException {
String from = packet.getFrom().getNode();
String msg = message.getBody();

if (!isNull(msg) && !isNull(from) && SessionManager.getInstance().getSessions(from).size() > 0)
if (!isNull(msg) && !isNull(from) /*&& SessionManager.getInstance().getSessions(from).size() > 0*/)
{
handlePrediction(msg, packet.getFrom(), message.getType());
}
Expand Down

0 comments on commit 6718b6d

Please sign in to comment.