This commit is contained in:
Peter Maquiran
2022-02-10 22:17:52 +01:00
parent 9e888acb5d
commit c845de54aa
+2 -2
View File
@@ -408,8 +408,8 @@ export class RoomService {
const offlineMessage = this.prepareMessage(ChatMessage)
this.messagesLocalReference.push(offlineMessage.localReference)
offlineMessage.send().then(()=>{
this.updateMessageDB(ChatMessage, ChatMessage.localReference)
offlineMessage.send().then((newChatMessage)=>{
this.updateMessageDB(newChatMessage, ChatMessage.localReference)
})
}