tangled
alpha
login
or
join now
moth11.net
/
xcvr
2
fork
atom
frontend for xcvr appview
2
fork
atom
overview
issues
pulls
pipelines
just some lil beep boop
moth11.net
6 months ago
0c94ad4d
dcc8e980
+4
-4
3 changed files
expand all
collapse all
unified
split
src
lib
types.ts
utils.ts
wscontext.svelte.ts
+1
-1
src/lib/types.ts
···
57
57
channelURI: string
58
58
lrcId: number
59
59
authorHandle: string
60
60
-
startedAt: number
60
60
+
startedAt: string
61
61
}
62
62
63
63
export type MessageView = {
+1
-1
src/lib/utils.ts
···
72
72
profileView: sm.author,
73
73
signetView: sm.signet,
74
74
...(sm.nick && { nick: sm.nick }),
75
75
-
startedAt: sm.signet.startedAt,
75
75
+
startedAt: Date.parse(sm.signet.startedAt),
76
76
}
77
77
}
78
78
export function sanitizeHandle(input: string) {
+2
-2
src/lib/wscontext.svelte.ts
···
268
268
profileView: m.author,
269
269
signetView: s,
270
270
...(m.nick && { nick: m.nick }),
271
271
-
startedAt: s.startedAt
271
271
+
startedAt: Date.parse(s.startedAt)
272
272
}
273
273
}
274
274
···
348
348
const channelURI = lex.channelURI
349
349
const lrcID = lex.lrcID
350
350
const authorHandle = lex.authorHandle
351
351
-
const startedAt = Date.parse(lex.startedAt)
351
351
+
const startedAt = lex.startedAt
352
352
ctx.addSignet({
353
353
$type: "org.xcvr.lrc.defs#signetView",
354
354
uri: uri,