remember any room avatars set on matrix-side

This commit is contained in:
Cadence Ember
2023-08-23 12:39:37 +12:00
parent bfe9efe62e
commit 92cd628a6c
5 changed files with 40 additions and 7 deletions

9
types.d.ts vendored
View File

@@ -38,6 +38,10 @@ namespace Event {
event_id: string
}
export type StateOuter<T> = Outer<T> & {
state_key: string
}
export type ReplacementContent<T> = T & {
"m.new_content": T
"m.relates_to": {
@@ -74,6 +78,11 @@ namespace Event {
avatar_url?: string
}
export type M_Room_Avatar = {
discord_path?: string
url?: string
}
export type M_Reaction = {
"m.relates_to": {
rel_type: "m.annotation"