File tree 2 files changed +4
-2
lines changed
core/src/main/java/co/casterlabs/caffeinated/app/auth 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 22
22
import co .casterlabs .koi .api .listener .KoiEventUtil ;
23
23
import co .casterlabs .koi .api .listener .KoiLifeCycleHandler ;
24
24
import co .casterlabs .koi .api .types .KoiEvent ;
25
+ import co .casterlabs .koi .api .types .RoomId ;
25
26
import co .casterlabs .koi .api .types .events .RoomstateEvent ;
26
27
import co .casterlabs .koi .api .types .events .StreamStatusEvent ;
27
28
import co .casterlabs .koi .api .types .events .UserUpdateEvent ;
@@ -149,6 +150,7 @@ public void onSupportedFeatures(List<KoiIntegrationFeatures> features) {
149
150
// }
150
151
// }
151
152
153
+ @ SuppressWarnings ("deprecation" )
152
154
@ KoiEventHandler
153
155
public void onUserUpdate (UserUpdateEvent e ) {
154
156
// boolean isAuthConfirmation = this.userData == null;
@@ -158,7 +160,7 @@ public void onUserUpdate(UserUpdateEvent e) {
158
160
if (this .roomstate == null ) {
159
161
// TODO get rid of this by broadcasting roomstates across all platforms on
160
162
// connect. (KOI)
161
- this .roomstate = RoomstateEvent .builder ()
163
+ this .roomstate = RoomstateEvent .builder (RoomId . of ( e . streamer . toSimpleProfile (), e . streamer . link ) )
162
164
.streamer (e .streamer .toSimpleProfile ())
163
165
.timestamp (Instant .now ())
164
166
.build ();
Original file line number Diff line number Diff line change 21
21
<dependency >
22
22
<groupId >co.casterlabs</groupId >
23
23
<artifactId >koi-sdk</artifactId >
24
- <version >74d68f3 </version >
24
+ <version >2dc74d3 </version >
25
25
<scope >compile</scope >
26
26
</dependency >
27
27
<dependency >
You can’t perform that action at this time.
0 commit comments