ssbc / ssb-tribes2

SSB private groups with ssb-db2
8 stars 1 forks source link

Make stuff work on feed encodings other than buttwoo #9

Closed Powersource closed 1 year ago

Powersource commented 2 years ago

Working on https://github.com/ssbc/ssb-tribes2/pull/8 there's code in tanglePrune that assumed how the content of a msg is stringified. In tribes1 it assumed classic with json.stringify, now I'm thinking of assuming buttwoo with bipf. But it should probably be generalized or at least documented that it (or at least that feature) only supports 1 format.

Powersource commented 2 years ago

https://github.com/ssbc/ssb-tribes2/blob/dc4e7bf6fbe0ececd780d7e33cdb95659d7b9577/lib/tangle-prune.js#L39-L41

staltz commented 1 year ago

Shouldn't be an issue any more.