added preview code to new topic - not yet tested
This commit is contained in:
@@ -273,3 +273,13 @@ func AmDecodePostLink(data string) (*PostLinkData, error) {
|
||||
}
|
||||
return &rc, nil
|
||||
}
|
||||
|
||||
func AmCreatePostLinkContext(community string, conference string, topic int16) *PostLinkData {
|
||||
return &PostLinkData{
|
||||
Community: community,
|
||||
Conference: conference,
|
||||
Topic: topic,
|
||||
FirstPost: -1,
|
||||
LastPost: -1,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user