hide some logs

pull/1596/head
Audric Ackermann 4 years ago
parent 5525312542
commit bc4bee6270
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -141,7 +141,7 @@ const setupTheme = (dispatch: Dispatch<any>) => {
};
// Do this only if we created a new Session ID, or if we already received the initial configuration message
const triggerSyncIfIfNeeded = async () => {
const triggerSyncIfNeeded = async () => {
const didWeHandleAConfigurationMessageAlready =
(await getItemById(hasSyncedInitialConfigurationItem))?.value || false;
if (didWeHandleAConfigurationMessageAlready) {
@ -174,7 +174,7 @@ const doAppStartUp = (dispatch: Dispatch<any>) => {
void OpenGroupManagerV2.getInstance().startPolling();
// trigger a sync message if needed for our other devices
void triggerSyncIfIfNeeded();
void triggerSyncIfNeeded();
void loadDefaultRooms();

@ -409,7 +409,7 @@ const handleCompactPollResults = async (
serverUrl: string,
results: Array<ParsedRoomCompactPollResults>
) => {
console.warn('compoll res', results);
// console.warn('compoll res', results);
await Promise.all(
results.map(async res => {
const convoId = getOpenGroupV2ConversationId(serverUrl, res.roomId);

@ -643,7 +643,7 @@ function addMemberToZombies(
if (isAlreadyZombie) {
return false;
}
console.warn('Marking user ', userToAdd.key, ' as a zombie');
// console.warn('Marking user ', userToAdd.key, ' as a zombie');
convo.set('zombies', [...zombies, userToAdd.key]);
return true;
}

@ -102,7 +102,7 @@ export class AttachmentUtils {
pointer.id = uploadToV2Result.fileId;
pointer.url = uploadToV2Result.fileUrl;
} else {
console.warn('upload to file server v2 failed');
window.log.warn('upload to file server v2 failed');
}
} else {
const result = isAvatar

@ -195,7 +195,7 @@ export const getCurrentConfigurationMessage = async (convos: Array<ConversationM
const activeOpenGroups = [...openGroupsV1Ids, ...opengroupV2CompleteUrls];
console.warn('SyncConfiguration', activeOpenGroups);
// console.warn('SyncConfiguration', activeOpenGroups);
return new ConfigurationMessage({
identifier: uuid(),

Loading…
Cancel
Save