mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-09 23:23:10 -06:00
fix linter error
This commit is contained in:
parent
ec1768ab75
commit
b13f0bbba1
|
|
@ -451,7 +451,7 @@ func (r *Inputer) processRoomEvent(
|
|||
// TODO: Revist this to ensure we don't replace a current state mxid_mapping with an older one.
|
||||
if event.Type() == spec.MRoomMember {
|
||||
mapping := gomatrixserverlib.MemberContent{}
|
||||
if err := json.Unmarshal(event.Content(), &mapping); err != nil {
|
||||
if err = json.Unmarshal(event.Content(), &mapping); err != nil {
|
||||
return err
|
||||
}
|
||||
if mapping.MXIDMapping != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue