mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 10:53:09 -06:00
Build issues resolved
This commit is contained in:
parent
689e3280c4
commit
7e9d749185
|
|
@ -198,11 +198,11 @@ func addDataToDB(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// getContentFromData is an utility function to obtain "content" from the ClientEvent
|
// getContentFromData is an utility function to obtain "content" from the ClientEvent
|
||||||
func getContentFromData(data []gomatrixserverlib.ClientEvent) []gomatrixserverlib.RawJSON {
|
func getContentFromData(data []gomatrixserverlib.ClientEvent) []gomatrixserverlib.RawJSON {
|
||||||
var contentData []gomatrixserverlib.RawJSON
|
var contentData []gomatrixserverlib.RawJSON
|
||||||
for i:=0 ; i< len(data); i++ {
|
for i := 0; i < len(data); i++ {
|
||||||
contentData = append(contentData,data[i].Content)
|
contentData = append(contentData, data[i].Content)
|
||||||
}
|
}
|
||||||
return contentData
|
return contentData
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue