tangled
alpha
login
or
join now
moth11.net
/
xcvr
2
fork
atom
frontend for xcvr appview
2
fork
atom
overview
issues
pulls
pipelines
yeak idk
moth11.net
5 months ago
8d0cd60e
c29c9640
+2
-1
1 changed file
expand all
collapse all
unified
split
src
lib
wscontext.svelte.ts
+2
-1
src/lib/wscontext.svelte.ts
···
187
187
188
188
pubImage = (alt: string) => {
189
189
if (this.atpblob) {
190
190
-
const image: ATPImage = { $type: "string", alt: alt, blob: this.atpblob }
190
190
+
const image: ATPImage = { $type: "org.xcvr.lrc.image", alt: alt, blob: this.atpblob }
191
191
const record = {
192
192
...(this.mySignet && { signetURI: this.mySignet.uri }),
193
193
...(this.channelUri && { channelURI: this.channelUri }),
···
196
196
image: image,
197
197
...(this.nick && { nick: this.nick }),
198
198
...(this.color && { color: this.color }),
199
199
+
type: "image"
199
200
}
200
201
const api = import.meta.env.VITE_API_URL
201
202
const recordstrungified = JSON.stringify(record)