fix: implement whispering
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user