fix: implement whispering

This commit is contained in:
Upkeep 2023-02-14 00:00:47 +01:00
parent 89311aa4d8
commit c4a7ba98b8
Signed by: dvdrw
GPG Key ID: 044B8425E3CD03E0
1 changed files with 2 additions and 3 deletions

View File

@ -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,
}); });
} }