portal: fix typo in msc1767 field name (#177)
This commit is contained in:
@@ -167,7 +167,7 @@ func (portal *Portal) convertDiscordAttachment(ctx context.Context, intent *apps
|
|||||||
if att.Waveform != nil {
|
if att.Waveform != nil {
|
||||||
// TODO convert waveform
|
// TODO convert waveform
|
||||||
extra = map[string]any{
|
extra = map[string]any{
|
||||||
"org.matrix.1767.audio": map[string]any{
|
"org.matrix.msc1767.audio": map[string]any{
|
||||||
"duration": int(att.DurationSeconds * 1000),
|
"duration": int(att.DurationSeconds * 1000),
|
||||||
},
|
},
|
||||||
"org.matrix.msc3245.voice": map[string]any{},
|
"org.matrix.msc3245.voice": map[string]any{},
|
||||||
|
|||||||
Reference in New Issue
Block a user