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> {
|
async sendWhisper(recipient: string, msg: string): Promise<void> {
|
||||||
await $http.post(this._apiPrefix + this._whisperEndpoint, {
|
this._socket.emit("whisper", {
|
||||||
chatToken: this.userProfile.jwt,
|
to: recipient,
|
||||||
receiver: recipient,
|
|
||||||
message: msg,
|
message: msg,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue