File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import { toLogFormat } from '../types/attachments/Errors';
27
27
import { Reactions } from '../util/reactions' ;
28
28
import { GroupV2Receiver } from './groupv2/handleGroupV2Message' ;
29
29
import { ConversationTypeEnum } from '../models/types' ;
30
+ import { ed25519Str } from '../session/utils/String' ;
30
31
31
32
function cleanAttachment ( attachment : any ) {
32
33
return {
@@ -211,7 +212,7 @@ export async function handleSwarmDataMessage({
211
212
}
212
213
213
214
window ?. log ?. info (
214
- `Handle dataMessage about convo ${ convoIdToAddTheMessageTo } from user: ${ convoIdOfSender } `
215
+ `Handle dataMessage about convo ${ ed25519Str ( convoIdToAddTheMessageTo ) } from user: ${ ed25519Str ( convoIdOfSender ) } `
215
216
) ;
216
217
217
218
// remove the prefix from the source object so this is correct for all other
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import type { SessionSuggestionDataItem } from '../../components/conversation/co
30
30
import { Storage } from '../../util/storage' ;
31
31
import { SettingsKey } from '../../data/settings-key' ;
32
32
import { sectionActions } from './section' ;
33
+ import { ed25519Str } from '../../session/utils/String' ;
33
34
34
35
export type MessageModelPropsWithoutConvoProps = {
35
36
propsForMessage : PropsForMessageWithoutConvoProps ;
@@ -339,7 +340,9 @@ async function getMessages({
339
340
return m . getMessageModelProps ( ) ;
340
341
} ) ;
341
342
const time = Date . now ( ) - beforeTimestamp ;
342
- window ?. log ?. info ( `Loading ${ messagesProps . length } messages took ${ time } ms to load.` ) ;
343
+ window ?. log ?. info (
344
+ `Loading ${ messagesProps . length } messages took ${ time } ms to load for convo ${ ed25519Str ( conversationKey ) } .`
345
+ ) ;
343
346
344
347
const quotesProps : QuoteLookupType = { } ;
345
348
You can’t perform that action at this time.
0 commit comments