@glyphteck/veyl 0.73.0 → 0.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account.js +524 -182
- package/dist/accountprofiles.js +1 -0
- package/dist/auth.js +3 -1
- package/dist/cli.js +745 -229
- package/dist/index.js +745 -229
- package/examples/bot-fleet/voice.js +4 -1
- package/package.json +1 -1
|
@@ -55,6 +55,9 @@ export function createVoiceRole(client, uid) {
|
|
|
55
55
|
async function reconcile() {
|
|
56
56
|
const room = newest();
|
|
57
57
|
const current = calls.getSnapshot();
|
|
58
|
+
// An admitted logical call owns its continuation. Discovery can move
|
|
59
|
+
// to a new epoch before that room's replacement roster is available.
|
|
60
|
+
if (current.callId && current.joiningChatId === current.chatId && chats.has(current.chatId)) return;
|
|
58
61
|
if (!room) {
|
|
59
62
|
if (current.joiningChatId || !['idle', 'error'].includes(current.phase)) await calls.leave();
|
|
60
63
|
return;
|
|
@@ -122,7 +125,7 @@ export function createVoiceRole(client, uid) {
|
|
|
122
125
|
return Object.freeze({
|
|
123
126
|
start() {
|
|
124
127
|
startup ||= (async () => {
|
|
125
|
-
await calls.setMuted(
|
|
128
|
+
await calls.setMuted(false);
|
|
126
129
|
if (closed) return;
|
|
127
130
|
releaseCalls = calls.subscribe(() => {
|
|
128
131
|
const { error } = calls.getSnapshot();
|
package/package.json
CHANGED