Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
Release/1.12.2 (#697)
Browse files Browse the repository at this point in the history
* [FIX] Revert: LoadConfig after registering guest (#696)

* Release 1.12.2

Co-authored-by: Murtaza Patrawala <[email protected]>
  • Loading branch information
MartinSchoeler and murtaza98 authored Mar 29, 2022
1 parent e905d66 commit efa1456
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 1.12.2 - 2022-03-29
[FIX] Revert: LoadConfig after registering guest #696

## 1.12.1 - 2022-03-08
[FIX] Making sure the 'hide agent info' hides the agent info even with department change. (#688)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rocket.chat/livechat",
"version": "1.12.1",
"version": "1.12.2",
"files": [
"/build"
],
Expand Down
1 change: 0 additions & 1 deletion src/lib/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Triggers from './triggers';
const createOrUpdateGuest = async (guest) => {
const { token } = guest;
token && await store.setState({ token });
token && await loadConfig();
const user = await Livechat.grantVisitor({ visitor: { ...guest } });
store.setState({ user });
};
Expand Down

0 comments on commit efa1456

Please sign in to comment.