mirror of
https://github.com/lux-tel/session-desktop.git
synced 2026-10-30 20:33:24 +00:00
14 lines
277 B
TypeScript
14 lines
277 B
TypeScript
import { UserUtils } from '..';
|
|
|
|
function isUserProfileToStoreInWrapper(convoId: string) {
|
|
try {
|
|
return convoId === UserUtils.getOurPubKeyStrFromCache();
|
|
} catch (e) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
export const SessionUtilUserProfile = {
|
|
isUserProfileToStoreInWrapper,
|
|
};
|