Commit graph

5 commits

Author SHA1 Message Date
Micke Nordin
b0a523b999 feat(OCM-invites): Fix psalm issues
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
616447413e feat(OCM-invites): Simplify accepted timestampcheck
Also run cs:fix to fix the code style, and address some minor points.

Fix typo in setRecipientName

Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
8404324774 feat(OCM-invites): Further code style
Co-authored-by: Anna <anna@nextcloud.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
6ec00d3df8 feat(OCM-invites): Code style and formatting
Use more ideomatic code and use helper functions that exists where possible.
It seems notnull must be false for sqlite to store false Otherwise we get a chrash.

Co-authored-by: Anna <anna@nextcloud.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00
Micke Nordin
a178acfa1c feat(OCM-invites): Add entity and mapper
This patch introduces an entity and a mapper for Invites

Signed-off-by: Micke Nordin <kano@sunet.se>
2025-03-25 16:07:12 +01:00