mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Log invite event
This commit is contained in:
parent
17d27331a3
commit
bb5cb4537e
1 changed files with 4 additions and 0 deletions
|
@ -308,9 +308,13 @@ func buildInviteStrippedState(
|
|||
inviteState := []gomatrixserverlib.InviteV2StrippedState{
|
||||
gomatrixserverlib.NewInviteV2StrippedState(&input.Event.Event),
|
||||
}
|
||||
fmt.Printf("INVITE: %+v\n \n", input.Event.Unwrap())
|
||||
|
||||
stateEvents = append(stateEvents, types.Event{Event: input.Event.Unwrap()})
|
||||
for _, event := range stateEvents {
|
||||
inviteState = append(inviteState, gomatrixserverlib.NewInviteV2StrippedState(&event.Event))
|
||||
}
|
||||
fmt.Printf("INVITE STATE: %+v\n \n", inviteState)
|
||||
|
||||
return inviteState, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue