fetching mailboxes from api
This commit is contained in:
@@ -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