swiftui-shapes icon indicating copy to clipboard operation
swiftui-shapes copied to clipboard

Send an invite url link message when add contact to room which room member count less than 40

Open su-chang opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Send an invite url link message when add contact to room which room member count less than 40.

Describe the solution you'd like A clear and concise description of what you want to happen.

Add a parameter invite for method room.add() to trigger send invite url message or not when the room member count less than 40.

/*
  invite, default: false
    - true: send invite url message
    - false: add to room directly
*/
function add(contact: Contact, invite: boolean = false) 

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

[enhancement]

su-chang avatar Jun 25 '21 10:06 su-chang