added preview code to new topic - not yet tested

This commit is contained in:
2025-11-03 22:47:00 -07:00
parent 1ba02f37e9
commit 798e86ae40
3 changed files with 81 additions and 1 deletions
+10
View File
@@ -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,
}
}