Skip to content

Commit

Permalink
remove log for realtime data
Browse files Browse the repository at this point in the history
  • Loading branch information
Septias authored and Simon-Laux committed Jun 4, 2024
1 parent 4a611ad commit 1845c7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/deltachat/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,13 @@ export default class DeltaChatController extends EventEmitter {
typeof event === 'object' &&
event.kind
) {
if (event.kind === 'WebxdcRealtimeData') {
return
}
if (event.kind === 'Warning') {
logCoreEvent.warn(contextId, event.msg)
} else if (event.kind === 'Info') {
logCoreEvent.info(contextId, event)
logCoreEvent.info(contextId, event.msg)
} else if (event.kind.startsWith('Error')) {
logCoreEvent.error(contextId, event.msg)
} else if (app.rc['log-debug']) {
Expand Down

0 comments on commit 1845c7f

Please sign in to comment.