Commit 6b0ae7d
Add member_for_more_than_three_years account attribute
Return the new member_for_more_than_three_years boolean in the account
attributes response. Uses the same 360-day-year convention as the
existing one-year check (3 × 360 = 1080 days). The total membership
time is now computed once and reused for both thresholds.
Companion to damus-io/damus#3592.
Signed-off-by: alltheseas <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 9ec225e commit 6b0ae7d
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
| 198 | + | |
195 | 199 | | |
196 | 200 | | |
197 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
0 commit comments