aboutsummaryrefslogtreecommitdiff
path: root/persistence/sessions_test.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2022-07-08 01:23:50 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2022-07-08 01:23:50 +0300
commitafa21e10be45a6186b99a33e4d8f22d820677efb (patch)
tree60b07819b3c044a7e5d18ae47a9f2fb388ed1a7a /persistence/sessions_test.go
parent0c71036148b0327db6f05f5d1a8d878be86f72c9 (diff)
Add a muc option (useless yet)
Diffstat (limited to 'persistence/sessions_test.go')
-rw-r--r--persistence/sessions_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/persistence/sessions_test.go b/persistence/sessions_test.go
index 76f71f9..c553e95 100644
--- a/persistence/sessions_test.go
+++ b/persistence/sessions_test.go
@@ -47,11 +47,13 @@ func TestSessionToMap(t *testing.T) {
session := Session{
Timezone: "klsf",
RawMessages: true,
+ MUC: true,
}
m := session.ToMap()
sample := map[string]string{
"timezone": "klsf",
"keeponline": "false",
+ "muc": "true",
"rawmessages": "true",
"asciiarrows": "false",
}