This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.
You can find the published source code at github.com/wireapp/wire.
For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.
No license is granted to the Wire trademark and its associated logos, all of which will continue to be owned exclusively by Wire Swiss GmbH. Any use of the Wire trademark and/or its associated logos is expressly prohibited without the express prior written consent of Wire Swiss GmbH.
Message multiple conversations simultaneously. This sample Wire App is intended as a Proof of Concept to manage basic DB whitelisting and sending the message in multiple conversations. It's not intended to be used in production as is, but rather as a starting point for building more complex Wire Apps.
Create a .env file in the project root as specified in SDK documentation
You can use the .env.sample file as a starting point and fill in data for the Wire user that will own the App.
The database environmental variables are already specified in postgres.env
- Start the App
docker compose up- Authorize Wire user to broadcast.
Insert Wire ID + domain into the database:
./authorize_user.sh <user_id> <user_domain>
# e.g. ./authorize_user.sh e514b71a-81d4-453f-84ec-a8a68b6804e2 wire.com-
Add App to Conversations
Invite the App into any conversation you want to include in the broadcast. -
Send a Broadcast In any conversation where the App is present, use:
/broadcast <your message here>
This will send the message to all other conversations where the App is added.
