ensure child comments are displayed in post view?

currently my client displays child comments/replies to a given comment based on a get-comments request and the sort arg. if a child comment is returned by such a request, it will be included as part of the tree, but otherwise not. it means the child is subject to sorting itself.

but what is needed is that if a parent comment is displayed/returned by request/sort arg, all its children should be also. that seems to me to be how the webUI works also.

any tips on how to ensure that?

blawsybogsy,

no one else is having issues with this?

blawsybogsy,

ah i solved it, it’s that the max_depth arg has no sane default, so a client needs to set it manually. currently the server has a hard 300 max value i think.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • lemmydev@lemm.ee
  • ethstaker
  • DreamBathrooms
  • InstantRegret
  • tacticalgear
  • magazineikmin
  • Youngstown
  • thenastyranch
  • mdbf
  • slotface
  • rosin
  • modclub
  • kavyap
  • cubers
  • osvaldo12
  • megavids
  • khanakhh
  • cisconetworking
  • Durango
  • everett
  • ngwrru68w68
  • Leos
  • normalnudes
  • GTA5RPClips
  • tester
  • provamag3
  • anitta
  • JUstTest
  • lostlight
  • All magazines