Skip to content

Commit 3959cd3

Browse files
authored
Merge pull request #16 from Bilb/allow-mark-not-sent
feat: allow to mark a member invite state as not sent
2 parents 5806b91 + 7dfe790 commit 3959cd3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/session/config/groups/members.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ struct member {
132132
/// This marks the user as having had an invitation message sent to them.
133133
void set_invite_sent() { invite_status = STATUS_SENT; }
134134

135+
/// API: groups/member::set_invite_not_sent
136+
///
137+
/// This resets the invite status of a user to `STATUS_NOT_SENT`.
138+
void set_invite_not_sent() { invite_status = STATUS_NOT_SENT; }
139+
135140
/// API: groups/member::set_invite_failed
136141
///
137142
/// This marks the user to indicate that their invitation message failed to send (this is

0 commit comments

Comments
 (0)