Twemoji Emote Menu

This commit is contained in:
Lurkars 2021-06-29 08:37:01 +02:00
parent 4c8ee41cf2
commit c264364752
8 changed files with 105 additions and 74 deletions

View file

@ -2,7 +2,7 @@ import {Subject} from "rxjs";
interface EmoteEvent {
userId: number,
emoteName: string,
emote: string,
}
class EmoteEventStream {
@ -11,8 +11,8 @@ class EmoteEventStream {
public stream = this._stream.asObservable();
fire(userId: number, emoteName:string) {
this._stream.next({userId, emoteName});
fire(userId: number, emote:string) {
this._stream.next({userId, emote});
}
}