Twemoji Emote Menu
This commit is contained in:
parent
4c8ee41cf2
commit
c264364752
8 changed files with 105 additions and 74 deletions
|
@ -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});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue