test: repair broken tests
This commit is contained in:
@@ -14,4 +14,4 @@
|
||||
<p class="mt-2 text-sm text-muted-foreground">The plugin page is not registered or the plugin is not loaded.</p>
|
||||
</section>
|
||||
}
|
||||
</main>
|
||||
</main>
|
||||
|
||||
@@ -415,13 +415,11 @@ export class ServerSearchComponent implements OnInit {
|
||||
description: currentUser.description,
|
||||
profileUpdatedAt: currentUser.profileUpdatedAt
|
||||
});
|
||||
this.webrtc.joinRoom(server.id, currentUser.oderId || currentUser.id, wsUrl);
|
||||
this.webrtc.sendRawMessage({
|
||||
this.webrtc.sendRawMessageToSignalUrl(wsUrl, {
|
||||
type: 'server_icon_sync_request',
|
||||
serverId: server.id,
|
||||
iconUpdatedAt: 0
|
||||
});
|
||||
window.setTimeout(() => this.webrtc.leaveRoom(server.id), 15_000);
|
||||
} catch {
|
||||
/* discovery icons are best-effort */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user