fetching mailboxes from api
This commit is contained in:
1 parent
14e64c1fc3
commit
095efb5440
24 files changed
+3107
-603
No files matched your search
@@ -27,7 +27,7 @@ async function registerMessageInApp(messageId, attrs) {
|
||||
} else {
|
||||
await findRoomByOwner(ownerId).then(async (res) => {
|
||||
if (res.length == 0) {
|
||||
await createRoom(envelope.subject, ownerId).then(async (roomId) => {
|
||||
await createRoom(envelope.subject, ownerId, messageId).then(async (roomId) => {
|
||||
await registerMessageInRoom(messageId, roomId, isSeen);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user