Skip to content

Commit 14a3e5c

Browse files
committed
fix wrong arguments order of SessionClosed event
1 parent 6500e08 commit 14a3e5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<version.surefire.plugin>3.3.0</version.surefire.plugin>
3333
<version.compiler.plugin>3.11.0</version.compiler.plugin>
3434
<quarkus.platform.version>3.12.3</quarkus.platform.version>
35-
<version.iris>6.1.5</version.iris>
35+
<version.iris>6.1.7</version.iris>
3636
<maven.deploy.skip>true</maven.deploy.skip>
3737
</properties>
3838
<dependencyManagement>

src/main/java/org/iris_events/router/ws/SocketV1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public void onClose(Session session, CloseReason reason) {
137137
if (userSession != null) {
138138
userSession.close(reason);
139139
final var userId = userSession.getUserId();
140-
final var sessionClosed = new SessionClosed(sessionId, userId);
140+
final var sessionClosed = new SessionClosed(userId, sessionId);
141141
backendService.sendInternalEvent(userSession, null, sessionClosed);
142142
}
143143
MDC.remove(MDCProperties.SESSION_ID);

0 commit comments

Comments
 (0)