File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,14 @@ type Room struct {
7979}
8080
8181type ApplicationService struct {
82- ID string
83- HSToken string
84- ASToken string
85- URL string
86- SenderLocalpart string
87- RateLimited bool
82+ ID string
83+ HSToken string
84+ ASToken string
85+ URL string
86+ SenderLocalpart string
87+ RateLimited bool
88+ SendEphemeral bool
89+ EnableEncryption bool
8890}
8991
9092type Event struct {
Original file line number Diff line number Diff line change @@ -423,6 +423,9 @@ func generateASRegistrationYaml(as b.ApplicationService) string {
423423 fmt .Sprintf ("url: '%s'\\ n" , as .URL ) +
424424 fmt .Sprintf ("sender_localpart: %s\\ n" , as .SenderLocalpart ) +
425425 fmt .Sprintf ("rate_limited: %v\\ n" , as .RateLimited ) +
426+ fmt .Sprintf ("de.sorunome.msc2409.push_ephemeral: %v\\ n" , as .SendEphemeral ) +
427+ fmt .Sprintf ("push_ephemeral: %v\\ n" , as .SendEphemeral ) +
428+ fmt .Sprintf ("org.matrix.msc3202: %v\\ n" , as .EnableEncryption ) +
426429 "namespaces:\\ n" +
427430 " users:\\ n" +
428431 " - exclusive: false\\ n" +
You can’t perform that action at this time.
0 commit comments