feat(reactions): Add πŸ‘‹ and πŸ”₯ call reactions

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-09-19 11:25:18 +02:00 β€’ committed by Maksim Sukharev
parent 521c6414ad
commit 22693b9c3f
5 changed files with 5 additions and 3 deletions

BIN
img/emojis/Fire.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
img/emojis/Wave.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -188,7 +188,7 @@ class Capabilities implements IPublicCapability {
'breakout-rooms' => $this->talkConfig->isBreakoutRoomsEnabled(),
'recording' => $this->talkConfig->isRecordingEnabled(),
'recording-consent' => $this->talkConfig->recordingConsentRequired(),
'supported-reactions' => ['❀️', 'πŸŽ‰', 'πŸ‘', 'πŸ‘', 'πŸ‘Ž', 'πŸ˜‚', '🀩', 'πŸ€”', '😲', 'πŸ˜₯'],
'supported-reactions' => ['❀️', 'πŸŽ‰', 'πŸ‘', 'πŸ‘‹', 'πŸ‘', 'πŸ‘Ž', 'πŸ”₯', 'πŸ˜‚', '🀩', 'πŸ€”', '😲', 'πŸ˜₯'],
// 'predefined-backgrounds' => list<string>,
'can-upload-background' => false,
'sip-enabled' => $this->talkConfig->isSIPConfigured(),

View file

@ -46,8 +46,10 @@ const reactions = {
'❀️': 'Heart.gif',
'πŸŽ‰': 'Party.gif',
'πŸ‘': 'Clap.gif',
'πŸ‘‹': 'Wave.gif',
'πŸ‘': 'Thumbs-up.gif',
'πŸ‘Ž': 'Thumbs-down.gif',
'πŸ”₯': 'Fire.gif',
'πŸ˜‚': 'Joy.gif',
'🀩': 'Star-struck.gif',
'πŸ€”': 'Thinking-face.gif',

View file

@ -114,7 +114,7 @@ class CapabilitiesTest extends TestCase {
'breakout-rooms' => false,
'recording' => false,
'recording-consent' => 0,
'supported-reactions' => ['❀️', 'πŸŽ‰', 'πŸ‘', 'πŸ‘', 'πŸ‘Ž', 'πŸ˜‚', '🀩', 'πŸ€”', '😲', 'πŸ˜₯'],
'supported-reactions' => ['❀️', 'πŸŽ‰', 'πŸ‘', 'πŸ‘‹', 'πŸ‘', 'πŸ‘Ž', 'πŸ”₯', 'πŸ˜‚', '🀩', 'πŸ€”', '😲', 'πŸ˜₯'],
'can-upload-background' => false,
'sip-enabled' => false,
'sip-dialout-enabled' => false,
@ -247,7 +247,7 @@ class CapabilitiesTest extends TestCase {
'breakout-rooms' => true,
'recording' => false,
'recording-consent' => 0,
'supported-reactions' => ['❀️', 'πŸŽ‰', 'πŸ‘', 'πŸ‘', 'πŸ‘Ž', 'πŸ˜‚', '🀩', 'πŸ€”', '😲', 'πŸ˜₯'],
'supported-reactions' => ['❀️', 'πŸŽ‰', 'πŸ‘', 'πŸ‘‹', 'πŸ‘', 'πŸ‘Ž', 'πŸ”₯', 'πŸ˜‚', '🀩', 'πŸ€”', '😲', 'πŸ˜₯'],
'can-upload-background' => $canUpload,
'sip-enabled' => false,
'sip-dialout-enabled' => false,