Changeset e62f65d in Klonkt for src/services/guardianship/notes.js
- Timestamp:
- 07/25/2026 08:01:21 AM (7 weeks ago)
- Branches:
- main
- Children:
- ad6f62a
- Parents:
- 5c373b8
- File:
-
- 1 edited
-
src/services/guardianship/notes.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/services/guardianship/notes.js
r5c373b8 re62f65d 18 18 } 19 19 20 export default { helpRequestProps, isHelpRequest }; 20 /** shaer:wave: a gentle "thinking of you" from a guardian to its ward. A 21 * private nudge, never a feed post; non-shaer clients see a plain DM. */ 22 export function waveProps(post) { 23 return (post && post.visibility === 'direct' && post.wave) 24 ? { 'shaer:wave': true } 25 : {}; 26 } 27 28 /** True when an incoming note is a wave. */ 29 export function isWave(object) { 30 return !!object && (object['shaer:wave'] === true || object.wave === true); 31 } 32 33 export default { helpRequestProps, isHelpRequest, waveProps, isWave };
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)