vue-wiguet-chatweb 0.0.24 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +277 -276
- package/dist/vue-wiguet-chatweb.umd.cjs +4 -4
- package/package.json +1 -1
- package/src/components/Chat.vue +3 -3
package/package.json
CHANGED
package/src/components/Chat.vue
CHANGED
@@ -275,15 +275,15 @@ const retryMessage = async (message: Message) => {
|
|
275
275
|
};
|
276
276
|
|
277
277
|
const connectMsRabbit = (app: any = "webchat") => {
|
278
|
-
|
278
|
+
const { virtualhost } = virtualHost.value;
|
279
279
|
let data = sessionStorage.getItem("tabBrowser");
|
280
280
|
if (!data) {
|
281
281
|
let tab = appChatId.value;
|
282
282
|
sessionStorage.setItem("tabBrowser", `${tab}`);
|
283
283
|
}
|
284
284
|
rabbitMQServiceListen.value = new RabbitMQService(
|
285
|
-
|
286
|
-
`
|
285
|
+
`${virtualhost}`,
|
286
|
+
`widget_chat_${sessionStorage.getItem("tabBrowser")}`
|
287
287
|
);
|
288
288
|
rabbitMQServiceListen.value.connect();
|
289
289
|
|