receive error when sending message on offline

This commit is contained in:
Peter Maquiran
2024-08-07 11:18:41 +01:00
parent 95a6d01aae
commit b0a334c9dd
10 changed files with 132 additions and 51 deletions
+5 -5
View File
@@ -27,18 +27,18 @@ export class MessageEntity implements Message {
id: string
roomId: string
message: string
messageType: number
canEdit: boolean
oneShot: boolean
messageType: number = 0
canEdit: boolean = false
oneShot: boolean = false
sentAt: string
requireUnlock: boolean
requireUnlock: boolean = false
sender: {
wxUserId: number,
wxFullName: string,
wxeMail: string,
userPhoto: string,
}
sending: boolean
sending: boolean = false
sendAttemp = 0
constructor() {}