Skip to content

Commit 342d68a

Browse files
committed
disable store
1 parent 1685c0c commit 342d68a

4 files changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<div></div>
2+
3+
You can configure GOWS-specific options per session via `config.gows`.
4+
5+
- `storage.messages` - Store messages locally. Set to `false` to disable.
6+
- `storage.groups` - Store groups locally. Set to `false` to disable.
7+
- `storage.chats` - Store chats locally. Set to `false` to disable.
8+
- `storage.labels` - Store labels locally. Set to `false` to disable.
9+
10+
If a field is omitted or set to `null`, storage remains enabled for that data type.
11+
12+
```json
13+
{
14+
"name": "default",
15+
"config": {
16+
"gows": {
17+
"storage": {
18+
"messages": true,
19+
"groups": true,
20+
"chats": true,
21+
"labels": true
22+
}
23+
}
24+
}
25+
}
26+
```

content/docs/engines/gows/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ docker run -v `pwd`/.sessions:/app/.sessions -e "WHATSAPP_DEFAULT_ENGINE=GOWS" d
2424
docker run -it -e "WHATSAPP_DEFAULT_ENGINE=GOWS" devlikeapro/waha
2525
```
2626

27+
## Session Config
28+
{{< include file="content/docs/engines/webjs/-env-config.md" >}}
29+
2730
## Configuration
2831
{{< include file="content/docs/engines/webjs/-env-config.md" >}}
2932

content/docs/how-to/sessions/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,16 @@ app_2e1005a40ef74edda01ffb1ade877fd3
496496

497497
{{< include file="content/docs/engines/webjs/-session-config.md" >}}
498498

499+
### GOWS
500+
501+
<div class="text-center">
502+
503+
![Dashboard - GOWS](session-config-gows.png)
504+
505+
</div>
506+
507+
{{< include file="content/docs/engines/gows/-session-config.md" >}}
508+
499509
### NOWEB
500510
<div class="text-center">
501511

26.8 KB
Loading

0 commit comments

Comments
 (0)