Remove unnecesary profile fetch assertion
This commit is contained in:
parent
8601baa7f5
commit
6888bb9cba
1 changed files with 0 additions and 4 deletions
|
@ -506,10 +506,6 @@ async function doGetProfile(
|
|||
if (request.accessKey != null || request.groupSendToken != null) {
|
||||
profile = await messaging.server.getProfileUnauth(serviceId, request);
|
||||
} else {
|
||||
strictAssert(
|
||||
!isMe(c.attributes),
|
||||
`${logId}: Should never fetch own profile on auth connection`
|
||||
);
|
||||
profile = await messaging.server.getProfile(serviceId, request);
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in a new issue