mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix direct room
This commit is contained in:
@@ -6,7 +6,7 @@ export const MessageTableSchema = z.object({
|
||||
$id: z.string().optional(),
|
||||
$createAt: z.number().optional(),
|
||||
id: z.string().uuid().optional(),
|
||||
roomId: z.string().optional(),
|
||||
roomId: z.string().uuid().optional(),
|
||||
message: z.string().nullable().optional(),
|
||||
requestId: z.string().nullable().optional(),
|
||||
messageType: z.number(),
|
||||
|
||||
@@ -137,6 +137,7 @@ export class SignalRConnection {
|
||||
});
|
||||
|
||||
} catch(error) {
|
||||
console.log(error);
|
||||
resolve(err({
|
||||
type: EnumSocketError.catch
|
||||
}))
|
||||
@@ -144,6 +145,7 @@ export class SignalRConnection {
|
||||
|
||||
|
||||
} else {
|
||||
console.log('dfdf');
|
||||
this.sendLaterSubject.next({method: 'SendMessage', args: input})
|
||||
return resolve(err(false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user