mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
event: fix json tag in power levels
This commit is contained in:
parent
e27e00b391
commit
1215f6237e
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ type PowerLevelsEventContent struct {
|
|||
|
||||
// This is not a part of power levels, it's added by mautrix-go internally in certain places
|
||||
// in order to detect creator power accurately.
|
||||
CreateEvent *Event `json:"-,omitempty"`
|
||||
CreateEvent *Event `json:"-"`
|
||||
}
|
||||
|
||||
func (pl *PowerLevelsEventContent) Clone() *PowerLevelsEventContent {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue