Fix for UnregisteredUserError handling when fetching UUIDs
This commit is contained in:
parent
6df82867a0
commit
fd8339e2ff
4 changed files with 25 additions and 20 deletions
|
@ -633,6 +633,11 @@ export default class OutgoingMessage {
|
|||
});
|
||||
identifier = uuid;
|
||||
} else {
|
||||
const c = window.ConversationController.get(identifier);
|
||||
if (c) {
|
||||
c.setUnregistered();
|
||||
}
|
||||
|
||||
throw new UnregisteredUserError(
|
||||
identifier,
|
||||
new Error('User is not registered')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue