Add wave/hello reaction (#2921)
Co-authored-by: Hugh Nimmo-Smith <hughns@element.io> Co-authored-by: Davide Girardi <davideg@element.io>
This commit is contained in:
@@ -9,7 +9,7 @@ exports[`Can close reaction dialog 1`] = `
|
|||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
aria-expanded="true"
|
aria-expanded="true"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-labelledby=":rav:"
|
aria-labelledby=":rb5:"
|
||||||
class="_button_i91xf_17 _has-icon_i91xf_66 _icon-only_i91xf_59"
|
class="_button_i91xf_17 _has-icon_i91xf_66 _icon-only_i91xf_59"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ import deerSoundOgg from "../sound/reactions/deer.ogg?url";
|
|||||||
import deerSoundMp3 from "../sound/reactions/deer.mp3?url";
|
import deerSoundMp3 from "../sound/reactions/deer.mp3?url";
|
||||||
import rockSoundOgg from "../sound/reactions/rock.ogg?url";
|
import rockSoundOgg from "../sound/reactions/rock.ogg?url";
|
||||||
import rockSoundMp3 from "../sound/reactions/rock.mp3?url";
|
import rockSoundMp3 from "../sound/reactions/rock.mp3?url";
|
||||||
|
import waveSoundOgg from "../sound/reactions/wave.ogg?url";
|
||||||
|
import waveSoundMp3 from "../sound/reactions/wave.mp3?url";
|
||||||
|
|
||||||
export const ElementCallReactionEventType = "io.element.call.reaction";
|
export const ElementCallReactionEventType = "io.element.call.reaction";
|
||||||
|
|
||||||
@@ -180,6 +182,15 @@ export const ReactionSet: ReactionOption[] = [
|
|||||||
mp3: rockSoundMp3,
|
mp3: rockSoundMp3,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
emoji: "👋",
|
||||||
|
name: "wave",
|
||||||
|
alias: ["hand", "waving"],
|
||||||
|
sound: {
|
||||||
|
ogg: waveSoundOgg,
|
||||||
|
mp3: waveSoundMp3,
|
||||||
|
},
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export interface RaisedHandInfo {
|
export interface RaisedHandInfo {
|
||||||
|
|||||||
@@ -22,3 +22,4 @@ The following sound effects have been originally created by Element.
|
|||||||
- `join_call`
|
- `join_call`
|
||||||
- `end_call`
|
- `end_call`
|
||||||
- `reactions/rock`
|
- `reactions/rock`
|
||||||
|
- `reactions/wave`
|
||||||
|
|||||||
BIN
src/sound/reactions/wave.mp3
Normal file
BIN
src/sound/reactions/wave.mp3
Normal file
Binary file not shown.
BIN
src/sound/reactions/wave.ogg
Normal file
BIN
src/sound/reactions/wave.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user