fix: implement whispering
This commit is contained in:
parent
89311aa4d8
commit
c4a7ba98b8
|
@ -295,9 +295,8 @@ export class FedwaveChat {
|
|||
}
|
||||
|
||||
async sendWhisper(recipient: string, msg: string): Promise<void> {
|
||||
await $http.post(this._apiPrefix + this._whisperEndpoint, {
|
||||
chatToken: this.userProfile.jwt,
|
||||
receiver: recipient,
|
||||
this._socket.emit("whisper", {
|
||||
to: recipient,
|
||||
message: msg,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue