mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 02:43:09 -06:00
Build errors resolved
This commit is contained in:
parent
303dcf37de
commit
689e3280c4
|
|
@ -201,7 +201,7 @@ func addDataToDB(
|
|||
// getContentFromData is an utility function to obtain "content" from the ClientEvent
|
||||
func getContentFromData(data []gomatrixserverlib.ClientEvent) []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)
|
||||
}
|
||||
return contentData
|
||||
|
|
|
|||
Loading…
Reference in a new issue