Replace event content types with ones in gomatrixserverlib (#785)

The types that are not in gomatrixserverlib are not replaced.

This also updates the gomatrixserverlib dependency.
This commit is contained in:
Alex Chen 2019-08-16 01:45:11 +08:00 committed by GitHub
parent d21a2fb152
commit d63d2a50cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 33 additions and 105 deletions

View file

@ -332,7 +332,7 @@ func buildMembershipEvents(
StateKey: &userID,
}
content := common.MemberContent{
content := gomatrixserverlib.MemberContent{
Membership: gomatrixserverlib.Join,
}