Commit da093388 authored by zauberstuhl's avatar zauberstuhl

Rename RawMessage and DiasporaHandle to Text and Author

related to ganggo@43ca1b4e
parent 48186b46
......@@ -77,7 +77,7 @@ func (l ApiLike) Create() revel.Result {
entityLike := federation.EntityLike{
Positive: positive,
Guid: guid,
DiasporaHandle: user.Person.DiasporaHandle,
Author: user.Person.Author,
TargetType: models.ShareablePost,
ParentGuid: post.Guid,
}
......
......@@ -77,8 +77,8 @@ func (p ApiPost) Create() revel.Result {
}
entity := federation.EntityStatusMessage{
RawMessage: postText,
DiasporaHandle: user.Person.DiasporaHandle,
Text: postText,
Author: user.Person.Author,
Guid: guid,
CreatedAt: time.Now().UTC(),
ProviderName: "GangGo",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment